diff options
Diffstat (limited to 'code/index.php')
-rw-r--r-- | code/index.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/code/index.php b/code/index.php new file mode 100644 index 0000000..b07f778 --- /dev/null +++ b/code/index.php @@ -0,0 +1,9 @@ +<?php + chdir('admin/'); + require_once('utils.php'); + + // Config loading + $site_conf = load_ini_site_conf("content/site_conf.ini"); + if ( ! is_array($site_conf) ) trigger_error("Error parsing site_conf.ini", E_USER_ERROR); + + header('Location: ' . $site_conf['site_default_page'].'.html'); |