Update app_defaults.php
Check to see if the file exists before renaming it.
This commit is contained in:
parent
cd3c9d0e52
commit
c5ad50b9bb
|
|
@ -129,9 +129,11 @@
|
|||
unset($prep_statement);
|
||||
|
||||
//rename the file
|
||||
if (file_exists($xml_dir.'/acl.conf.xml') {
|
||||
rename($xml_dir.'/acl.conf.xml', $xml_dir.'/acl.conf');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue