1
1
Fork 0

Moved .htconfig file

Extracted install business functions to new Class `Install.php`
This commit is contained in:
Philipp Holzer 2018-04-21 14:10:53 +02:00
commit 346697d771
22 changed files with 350 additions and 324 deletions

View file

@ -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";
}
/**