Moved .htconfig file
Extracted install business functions to new Class `Install.php`
This commit is contained in:
parent
fa7bed8929
commit
346697d771
22 changed files with 350 additions and 324 deletions
|
@ -37,11 +37,11 @@ $a->backend = false;
|
|||
* installation mode.
|
||||
*/
|
||||
|
||||
$install = ((file_exists('.htconfig.php') && filesize('.htconfig.php')) ? false : true);
|
||||
$install = ((file_exists('config/.htconfig.php') && filesize('config/.htconfig.php')) ? false : true);
|
||||
|
||||
// Only load config if found, don't surpress errors
|
||||
if (!$install) {
|
||||
include ".htconfig.php";
|
||||
include "config/.htconfig.php";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue