Add check to make sure audit log location is writeable
Some cleanups
This commit is contained in:
+6
-1
@@ -36,7 +36,12 @@ require_once "init.php";
|
||||
</ul>
|
||||
</div>
|
||||
<div class="loggedInDetails">
|
||||
Logged in as: <?php echo $_SESSION["core"]->getLoggedinUser(); ?>
|
||||
Logged in as: <?php echo $_SESSION["core"]->getLoggedinUser(); ?><br />
|
||||
<?php
|
||||
if ( ! is_writable("logs/")) {
|
||||
echo "<span style='redText'>Make /cms/logs/ writeable!</span>";
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<iframe id="frameContainer" src="welcome.html" class="frame"></iframe>
|
||||
|
||||
Reference in New Issue
Block a user