diff options
author | Ludovic Pouzenc <lpouzenc@gmail.com> | 2013-10-29 18:42:08 +0100 |
---|---|---|
committer | Ludovic Pouzenc <lpouzenc@gmail.com> | 2013-10-29 18:42:08 +0100 |
commit | c98515883097467896a3f46b755c8cb892fe8961 (patch) | |
tree | be2e4f5450e9bc9cf692e8dfac7c9780eaa7019b /code/index.php | |
download | editablesite-c98515883097467896a3f46b755c8cb892fe8961.tar.gz editablesite-c98515883097467896a3f46b755c8cb892fe8961.tar.bz2 editablesite-c98515883097467896a3f46b755c8cb892fe8961.zip |
Import initial avec une arbrescence éclatée
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'); |