| Línea 255... |
Línea 255... |
| 255 |
$topic_filename = 'topic-' .uniqid() . '.png';
|
255 |
$topic_filename = 'topic-' .uniqid() . '.png';
|
| 256 |
$topic_tmp_filename = 'data' . DIRECTORY_SEPARATOR . 'tmp';
|
256 |
$topic_tmp_filename = 'data' . DIRECTORY_SEPARATOR . 'tmp';
|
| 257 |
if(!file_exists($topic_tmp_filename)) {
|
257 |
if(!file_exists($topic_tmp_filename)) {
|
| 258 |
mkdir($topic_tmp_filename, 0755, true);
|
258 |
mkdir($topic_tmp_filename, 0755, true);
|
| 259 |
}
|
259 |
}
|
| 260 |
$feed_tmp_filename = 'data' . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . $feed_filename;
|
260 |
$topic_tmp_filename = 'data' . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . $topic_filename;
|
| 261 |
file_put_contents($topic_tmp_filename, $fileBase64Content);
|
261 |
file_put_contents($topic_tmp_filename, $fileBase64Content);
|
| Línea 262... |
Línea 262... |
| 262 |
|
262 |
|
| Línea 263... |
Línea 263... |
| 263 |
list($target_width, $target_height) = explode('x', $this->config['leaderslinked.image_sizes.microlearning_image_size']);
|
263 |
list($target_width, $target_height) = explode('x', $this->config['leaderslinked.image_sizes.microlearning_image_size']);
|