Fixed immediate error
This commit is contained in:
parent
76cafe30b3
commit
40187efb4a
1 changed files with 5 additions and 2 deletions
|
@ -37,8 +37,11 @@ $start = getTime();
|
|||
/**
|
||||
* Configuration
|
||||
*/
|
||||
require dirname(__FILE__, 2) .'/inc/config.inc.php';
|
||||
|
||||
if(!is_file(dirname(__FILE__, 2) .'/inc/config.inc.php')){
|
||||
header("Location: install/install.php");
|
||||
} else {
|
||||
require dirname(__FILE__, 2) . '/inc/config.inc.php';
|
||||
}
|
||||
/**
|
||||
* Smarty
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue