diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-19 10:12:19 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-19 10:12:19 -0400 |
commit | 749178f34371aabb8a22166fe64920a42679dcc5 (patch) | |
tree | 59779e38ccc73b17decbd01dd279dbf3688a0cc9 /index.php | |
parent | c87951f89518e276a85f41eaecf34da0720f49c5 (diff) |
better headers
Added H1 headers to all pages. Added H2 headers to sections of pages,
where appropriate.
Moved a lot of TODOs around.
Made the public stream the default if no action is specified.
darcs-hash:20080519141219-84dde-f9917a8351596060faa7ff5d231417773764a8fd.gz
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -23,6 +23,11 @@ define('LACONICA', true); require_once(INSTALLDIR . "/lib/common.php"); $action = $_REQUEST['action']; + +if (!$action) { + common_redirect(common_local_url('public')); +} + $actionfile = INSTALLDIR."/actions/$action.php"; if (file_exists($actionfile)) { |