diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2009-11-28 13:47:25 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2009-11-28 13:47:25 -0500 |
commit | e7e54aa96806d55204812f9e6ca5fa06e2943fa2 (patch) | |
tree | 83ab29513e2cbe0146edc02d964f913bd77d915b /index.php | |
parent | fff164998dfbcb300d27df78ea6f7a5b2aa541cb (diff) | |
download | fourisland-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-x | index.php | 2 |
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 | ||
35 | ob_start(); | 35 | ob_start(); |
36 | 36 | ||
37 | $pageName = isset($_GET['area']) ? $_GET['area'] : 'welcome'; | 37 | $pageName = basename($_GET['area']); |
38 | 38 | ||
39 | if (file_exists('pages/' . $pageName . '.php')) | 39 | if (file_exists('pages/' . $pageName . '.php')) |
40 | { | 40 | { |