mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 12:41:30 +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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<form action="../op/op.Settings.php" method="post" enctype="multipart/form-data" name="form0" >
|
<form action="../op/op.Settings.php" method="post" enctype="multipart/form-data" name="form0" >
|
||||||
<input type="Hidden" name="action" value="saveSettings" />
|
<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");?>" />
|
<input type="Submit" value="<?php printMLText("save");?>" />
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
<div class="contentHeading" onClick="ShowHide('siteID')" style="cursor:pointer">+ <?php printMLText("settings_Site");?></div>
|
<div class="contentHeading" onClick="ShowHide('siteID')" style="cursor:pointer">+ <?php printMLText("settings_Site");?></div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user