From 749178f34371aabb8a22166fe64920a42679dcc5 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 19 May 2008 10:12:19 -0400 Subject: 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 --- index.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 26a0946f0..35168621b 100644 --- a/index.php +++ b/index.php @@ -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)) { -- cgit v1.2.3-54-g00ecf