diff options
author | isjusterin <erinproductions@gmail.com> | 2015-07-22 19:06:03 -0500 |
---|---|---|
committer | isjusterin <erinproductions@gmail.com> | 2015-07-22 19:06:03 -0500 |
commit | eda26599175299cd1481bc93ecfc57c4840f8705 (patch) | |
tree | 5bb7fed81f5788ed955bcc1f341667466d3c6d0c /index.php | |
parent | 2e1397a1c1ee6bde877c351010e0fdaed43efd25 (diff) | |
download | ComicControl-3.0-master.zip ComicControl-3.0-master.tar.gz ComicControl-3.0-master.tar.bz2 |
ComicControl files to be dumped in root folderHEADorigin/masterorigin/HEADmaster
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/index.php b/index.php new file mode 100644 index 0000000..495748b --- /dev/null +++ b/index.php @@ -0,0 +1,34 @@ +<? +//header('X-Frame-Options: sameorigin'); +include('comiccontrol/dbconfig.php'); +include('comiccontrol/initialize.php'); +include('comiccontrol/functions.php'); +include('custom.php'); + + +//include template +if($moduleinfo['customtemplate'] != ""){ + include("templates/" . $moduleinfo['customtemplate']); +}else{ + + switch($moduleinfo['type']){ + case "comic": + include("templates/comicpage.php"); + break; + case "blog": + include("templates/blogpage.php"); + break; + case "gallery": + include("templates/gallerypage.php"); + break; + case "page": + include("templates/page.php"); + break; + case "archive": + include("templates/archive.php"); + break; + } + +} + +?>
\ No newline at end of file |