diff --git a/views/bootstrap/class.Settings.php b/views/bootstrap/class.Settings.php index b3cc6978c..f3e31ff1e 100644 --- a/views/bootstrap/class.Settings.php +++ b/views/bootstrap/class.Settings.php @@ -256,11 +256,9 @@ class SeedDMS_View_Settings extends SeedDMS_Theme_Style { _configFilePath)) { - print "
"; - echo "

".getMLText("settings_notwritable")."

"; - print "
"; -} + if(!is_writeable($settings->_configFilePath)) { + $this->warningMsg(getMLText("settings_notwritable")); + } ?>