Disable the "save" button if the file isn't writable.

This commit is contained in:
stronk7
2007-04-02 21:50:03 +00:00
parent f0a346c4ff
commit ecb80afb03
@@ -152,7 +152,7 @@ class main_view extends XMLDBAction {
/// The save button
if ($dbdir->path_exists &&
file_exists($key . '/install.xml') &&
is_readable($key . '/install.xml') &&
is_writeable($key . '/install.xml') &&
is_writeable($key) &&
!empty($dbdir->xml_loaded) &&
!empty($dbdir->xml_changed)) {