|
@@ 1598-1606 (lines=9) @@
|
| 1595 |
|
$dirVideos = XOOPS_ROOT_PATH . '/' . $xoopsModuleConfig['videodir']; |
| 1596 |
|
$dirScreenshots = XOOPS_ROOT_PATH . '/' . $xoopsModuleConfig['videoimgdir']; |
| 1597 |
|
|
| 1598 |
|
if (file_exists($dirPhotos)) { |
| 1599 |
|
if (!is_writable($dirPhotos)) { |
| 1600 |
|
echo "<span style=\" color: red; font-weight: bold;\">Warning:</span> " . _AM_XOOPSTUBE_UNABLE_TO_WRITE . $dirPhotos . "<br />"; |
| 1601 |
|
} else { |
| 1602 |
|
echo "<span style=\" color: green; font-weight: bold;\">OK:</span> " . $dirPhotos . "<br />"; |
| 1603 |
|
} |
| 1604 |
|
} else { |
| 1605 |
|
echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . "</span> " . $dirPhotos . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS . "</span> <br />"; |
| 1606 |
|
} |
| 1607 |
|
// photothumbdir |
| 1608 |
|
if (file_exists($dirVideos)) { |
| 1609 |
|
if (!is_writable($dirVideos)) { |
|
@@ 1608-1616 (lines=9) @@
|
| 1605 |
|
echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . "</span> " . $dirPhotos . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS . "</span> <br />"; |
| 1606 |
|
} |
| 1607 |
|
// photothumbdir |
| 1608 |
|
if (file_exists($dirVideos)) { |
| 1609 |
|
if (!is_writable($dirVideos)) { |
| 1610 |
|
echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . "</span> " . _AM_XOOPSTUBE_UNABLE_TO_WRITE . $dirVideos . "<br />"; |
| 1611 |
|
} else { |
| 1612 |
|
echo "<span style=\" color: green; font-weight: bold;\">OK:</span> " . $dirVideos . "<br />"; |
| 1613 |
|
} |
| 1614 |
|
} else { |
| 1615 |
|
echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . "</span> " . $dirVideos . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS . "</span> <br />"; |
| 1616 |
|
} |
| 1617 |
|
// photohighdir |
| 1618 |
|
if (file_exists($dirScreenshots)) { |
| 1619 |
|
if (!is_writable($dirScreenshots)) { |
|
@@ 1618-1627 (lines=10) @@
|
| 1615 |
|
echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . "</span> " . $dirVideos . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS . "</span> <br />"; |
| 1616 |
|
} |
| 1617 |
|
// photohighdir |
| 1618 |
|
if (file_exists($dirScreenshots)) { |
| 1619 |
|
if (!is_writable($dirScreenshots)) { |
| 1620 |
|
echo "<span style=\" color: red; font-weight: bold;\">Warning:</span> " . _AM_XOOPSTUBE_UNABLE_TO_WRITE . $dirScreenshots . "<br />"; |
| 1621 |
|
} else { |
| 1622 |
|
echo "<span style=\" color: green; font-weight: bold;\">OK:</span> " . $dirScreenshots . "<br />"; |
| 1623 |
|
} |
| 1624 |
|
} else { |
| 1625 |
|
echo "<span style=\" color: red; font-weight: bold;\">" . _AM_XOOPSTUBE_WARNING . "</span> " . $dirScreenshots . " <span style=\" color: red; \">" . _AM_XOOPSTUBE_NOT_EXISTS |
| 1626 |
|
. "</span> <br />"; |
| 1627 |
|
} |
| 1628 |
|
|
| 1629 |
|
/** |
| 1630 |
|
* Some info. |