|
@@ 3339-3347 (lines=9) @@
|
| 3336 |
|
$dirVideos = XOOPS_ROOT_PATH . '/' . $GLOBALS['xoopsModuleConfig']['videodir']; |
| 3337 |
|
$dirScreenshots = XOOPS_ROOT_PATH . '/' . $GLOBALS['xoopsModuleConfig']['videoimgdir']; |
| 3338 |
|
|
| 3339 |
|
if (file_exists($dirPhotos)) { |
| 3340 |
|
if (!is_writable($dirPhotos)) { |
| 3341 |
|
echo "<span style=\" color: red; font-weight: bold;\">Warning:</span> " . _AM_XOOPSTUBE_UNABLE_TO_WRITE . $dirPhotos . '<br>'; |
| 3342 |
|
} else { |
| 3343 |
|
echo "<span style=\" color: green; font-weight: bold;\">OK:</span> " . $dirPhotos . '<br>'; |
| 3344 |
|
} |
| 3345 |
|
} else { |
| 3346 |
|
echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . '</span> ' . $dirPhotos . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS . '</span> <br>'; |
| 3347 |
|
} |
| 3348 |
|
// photothumbdir |
| 3349 |
|
if (file_exists($dirVideos)) { |
| 3350 |
|
if (!is_writable($dirVideos)) { |
|
@@ 3349-3357 (lines=9) @@
|
| 3346 |
|
echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . '</span> ' . $dirPhotos . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS . '</span> <br>'; |
| 3347 |
|
} |
| 3348 |
|
// photothumbdir |
| 3349 |
|
if (file_exists($dirVideos)) { |
| 3350 |
|
if (!is_writable($dirVideos)) { |
| 3351 |
|
echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . '</span> ' . _AM_XOOPSTUBE_UNABLE_TO_WRITE . $dirVideos . '<br>'; |
| 3352 |
|
} else { |
| 3353 |
|
echo "<span style=\" color: green; font-weight: bold;\">OK:</span> " . $dirVideos . '<br>'; |
| 3354 |
|
} |
| 3355 |
|
} else { |
| 3356 |
|
echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . '</span> ' . $dirVideos . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS . '</span> <br>'; |
| 3357 |
|
} |
| 3358 |
|
// photohighdir |
| 3359 |
|
if (file_exists($dirScreenshots)) { |
| 3360 |
|
if (!is_writable($dirScreenshots)) { |
|
@@ 3359-3368 (lines=10) @@
|
| 3356 |
|
echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . '</span> ' . $dirVideos . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS . '</span> <br>'; |
| 3357 |
|
} |
| 3358 |
|
// photohighdir |
| 3359 |
|
if (file_exists($dirScreenshots)) { |
| 3360 |
|
if (!is_writable($dirScreenshots)) { |
| 3361 |
|
echo "<span style=\" color: red; font-weight: bold;\">Warning:</span> " . _AM_XOOPSTUBE_UNABLE_TO_WRITE . $dirScreenshots . '<br>'; |
| 3362 |
|
} else { |
| 3363 |
|
echo "<span style=\" color: green; font-weight: bold;\">OK:</span> " . $dirScreenshots . '<br>'; |
| 3364 |
|
} |
| 3365 |
|
} else { |
| 3366 |
|
echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . '</span> ' . $dirScreenshots . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS |
| 3367 |
|
. '</span> <br>'; |
| 3368 |
|
} |
| 3369 |
|
|
| 3370 |
|
/** |
| 3371 |
|
* Some info. |