@@ 3511-3519 (lines=9) @@ | ||
3508 | $dirVideos = XOOPS_ROOT_PATH . '/' . $GLOBALS['xoopsModuleConfig']['videodir']; |
|
3509 | $dirScreenshots = XOOPS_ROOT_PATH . '/' . $GLOBALS['xoopsModuleConfig']['videoimgdir']; |
|
3510 | ||
3511 | if (file_exists($dirPhotos)) { |
|
3512 | if (!is_writable($dirPhotos)) { |
|
3513 | echo "<span style=\" color: red; font-weight: bold;\">Warning:</span> " . _AM_XOOPSTUBE_UNABLE_TO_WRITE . $dirPhotos . '<br>'; |
|
3514 | } else { |
|
3515 | echo "<span style=\" color: green; font-weight: bold;\">OK:</span> " . $dirPhotos . '<br>'; |
|
3516 | } |
|
3517 | } else { |
|
3518 | echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . '</span> ' . $dirPhotos . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS . '</span> <br>'; |
|
3519 | } |
|
3520 | // photothumbdir |
|
3521 | if (file_exists($dirVideos)) { |
|
3522 | if (!is_writable($dirVideos)) { |
|
@@ 3521-3529 (lines=9) @@ | ||
3518 | echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . '</span> ' . $dirPhotos . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS . '</span> <br>'; |
|
3519 | } |
|
3520 | // photothumbdir |
|
3521 | if (file_exists($dirVideos)) { |
|
3522 | if (!is_writable($dirVideos)) { |
|
3523 | echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . '</span> ' . _AM_XOOPSTUBE_UNABLE_TO_WRITE . $dirVideos . '<br>'; |
|
3524 | } else { |
|
3525 | echo "<span style=\" color: green; font-weight: bold;\">OK:</span> " . $dirVideos . '<br>'; |
|
3526 | } |
|
3527 | } else { |
|
3528 | echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . '</span> ' . $dirVideos . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS . '</span> <br>'; |
|
3529 | } |
|
3530 | // photohighdir |
|
3531 | if (file_exists($dirScreenshots)) { |
|
3532 | if (!is_writable($dirScreenshots)) { |
|
@@ 3531-3540 (lines=10) @@ | ||
3528 | echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . '</span> ' . $dirVideos . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS . '</span> <br>'; |
|
3529 | } |
|
3530 | // photohighdir |
|
3531 | if (file_exists($dirScreenshots)) { |
|
3532 | if (!is_writable($dirScreenshots)) { |
|
3533 | echo "<span style=\" color: red; font-weight: bold;\">Warning:</span> " . _AM_XOOPSTUBE_UNABLE_TO_WRITE . $dirScreenshots . '<br>'; |
|
3534 | } else { |
|
3535 | echo "<span style=\" color: green; font-weight: bold;\">OK:</span> " . $dirScreenshots . '<br>'; |
|
3536 | } |
|
3537 | } else { |
|
3538 | echo "<span style=\" color: red; font-weight: bold;\">" |
|
3539 | . _AM_XOOPSTUBE_WARNING |
|
3540 | . '</span> ' |
|
3541 | . $dirScreenshots |
|
3542 | . " <span style=\" color: red; \">" |
|
3543 | . _AM_XOOPSTUBE_NOT_EXISTS |