mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
- check if configuration file is writeable and issue a message if not
This commit is contained in:
parent
8ef7cea072
commit
3cab08702d
|
@ -55,10 +55,17 @@ function ShowHide(strId)
|
|||
}
|
||||
</script>
|
||||
|
||||
|
||||
<form action="../op/op.Settings.php" method="post" enctype="multipart/form-data" name="form0" >
|
||||
<input type="Hidden" name="action" value="saveSettings" />
|
||||
<?php
|
||||
if(!is_writeable($settings->_configFilePath)) {
|
||||
echo "<p>".getMLText("settings_notwritable")."</p>";
|
||||
} else {
|
||||
?>
|
||||
<input type="Submit" value="<?php printMLText("save");?>" />
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
<div class="contentHeading" onClick="ShowHide('siteID')" style="cursor:pointer">+ <?php printMLText("settings_Site");?></div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user