aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-01-05 14:43:33 +0100
committerKevin Chabowski <kevin@kch42.de>2012-01-05 14:43:33 +0100
commitc4cc87d9d1557ddd4cae4b06b79696712f61a2ad (patch)
tree081b31be890c484040a63f626063e846ef583680 /index.php
parente99281261767710f96b9967a0ab03a3ea24a05e0 (diff)
downloadr7r-repo-c4cc87d9d1557ddd4cae4b06b79696712f61a2ad.tar.gz
r7r-repo-c4cc87d9d1557ddd4cae4b06b79696712f61a2ad.tar.bz2
r7r-repo-c4cc87d9d1557ddd4cae4b06b79696712f61a2ad.zip
New directory hierachy. index and setup implemented.
Diffstat (limited to 'index.php')
-rw-r--r--index.php24
1 files changed, 1 insertions, 23 deletions
diff --git a/index.php b/index.php
index 3ce0daa..f7b8629 100644
--- a/index.php
+++ b/index.php
@@ -1,23 +1 @@
-<?php
-
-/* Load and check config */
-require_once(dirname(__FILE__) . "/config.php");
-if(!defined("CONFIG_FILLED_OUT"))
- die("Config file not filled out.");
-
-/* Include more files... */
-require_once(dirname(__FILE__) . "/stupid_template_engine.php");
-require_once(dirname(__FILE__) . "/db.php");
-require_once(dirname(__FILE__) . "/models.php");
-require_once(dirname(__FILE__) . "/urlprocess.php");
-require_once(dirname(__FILE__) . "/pwhash.php");
-
-/* init STE */
-$tpl_basedir = dirname(__FILE__). "/templates";
-$ste = new \ste\STECore(new \ste\FilesystemStorageAccess("$tpl_basedir/src", "$tpl_basedir/transc"));
-
-/* start session and check auth. */
-session_start();
-
-
-?>
+<?php require_once(dirname(__FILE__) . "/r7r_repo/main.php"); ?>