@@ 3378-3386 (lines=9) @@ | ||
3375 | $dirVideos = XOOPS_ROOT_PATH . '/' . $GLOBALS['xoopsModuleConfig']['videodir']; |
|
3376 | $dirScreenshots = XOOPS_ROOT_PATH . '/' . $GLOBALS['xoopsModuleConfig']['videoimgdir']; |
|
3377 | ||
3378 | if (file_exists($dirPhotos)) { |
|
3379 | if (!is_writable($dirPhotos)) { |
|
3380 | echo "<span style=\" color: red; font-weight: bold;\">Warning:</span> " . _AM_XOOPSTUBE_UNABLE_TO_WRITE . $dirPhotos . '<br>'; |
|
3381 | } else { |
|
3382 | echo "<span style=\" color: green; font-weight: bold;\">OK:</span> " . $dirPhotos . '<br>'; |
|
3383 | } |
|
3384 | } else { |
|
3385 | echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . '</span> ' . $dirPhotos . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS . '</span> <br>'; |
|
3386 | } |
|
3387 | // photothumbdir |
|
3388 | if (file_exists($dirVideos)) { |
|
3389 | if (!is_writable($dirVideos)) { |
|
@@ 3388-3396 (lines=9) @@ | ||
3385 | echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . '</span> ' . $dirPhotos . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS . '</span> <br>'; |
|
3386 | } |
|
3387 | // photothumbdir |
|
3388 | if (file_exists($dirVideos)) { |
|
3389 | if (!is_writable($dirVideos)) { |
|
3390 | echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . '</span> ' . _AM_XOOPSTUBE_UNABLE_TO_WRITE . $dirVideos . '<br>'; |
|
3391 | } else { |
|
3392 | echo "<span style=\" color: green; font-weight: bold;\">OK:</span> " . $dirVideos . '<br>'; |
|
3393 | } |
|
3394 | } else { |
|
3395 | echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . '</span> ' . $dirVideos . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS . '</span> <br>'; |
|
3396 | } |
|
3397 | // photohighdir |
|
3398 | if (file_exists($dirScreenshots)) { |
|
3399 | if (!is_writable($dirScreenshots)) { |
|
@@ 3398-3407 (lines=10) @@ | ||
3395 | echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . '</span> ' . $dirVideos . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS . '</span> <br>'; |
|
3396 | } |
|
3397 | // photohighdir |
|
3398 | if (file_exists($dirScreenshots)) { |
|
3399 | if (!is_writable($dirScreenshots)) { |
|
3400 | echo "<span style=\" color: red; font-weight: bold;\">Warning:</span> " . _AM_XOOPSTUBE_UNABLE_TO_WRITE . $dirScreenshots . '<br>'; |
|
3401 | } else { |
|
3402 | echo "<span style=\" color: green; font-weight: bold;\">OK:</span> " . $dirScreenshots . '<br>'; |
|
3403 | } |
|
3404 | } else { |
|
3405 | echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . '</span> ' . $dirScreenshots . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS |
|
3406 | . '</span> <br>'; |
|
3407 | } |
|
3408 | ||
3409 | /** |
|
3410 | * Some info. |