summary refs log tree commit diff stats
path: root/index.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-11-28 13:47:25 -0500
committerStarla Insigna <hatkirby@fourisland.com>2009-11-28 13:47:25 -0500
commite7e54aa96806d55204812f9e6ca5fa06e2943fa2 (patch)
tree83ab29513e2cbe0146edc02d964f913bd77d915b /index.php
parentfff164998dfbcb300d27df78ea6f7a5b2aa541cb (diff)
downloadfourisland-e7e54aa96806d55204812f9e6ca5fa06e2943fa2.tar.gz
fourisland-e7e54aa96806d55204812f9e6ca5fa06e2943fa2.tar.bz2
fourisland-e7e54aa96806d55204812f9e6ca5fa06e2943fa2.zip
Organized blog module
Previously, welcome.php was always loaded if no module was specified. Because of this, the index page blog section was there, while the rest of the blog
code (plus archive code) was in blog.php. Now, the all of the blog is in blog.php and all of the archive is in archive.php.
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php index 83cdd99..79fce10 100755 --- a/index.php +++ b/index.php
@@ -34,7 +34,7 @@ if (strpos($_SERVER['REQUEST_URI'],'index.php'))
34 34
35ob_start(); 35ob_start();
36 36
37$pageName = isset($_GET['area']) ? $_GET['area'] : 'welcome'; 37$pageName = basename($_GET['area']);
38 38
39if (file_exists('pages/' . $pageName . '.php')) 39if (file_exists('pages/' . $pageName . '.php'))
40{ 40{