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