X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=53fd1bfe668c78d6a9944f50353e9b53c7736847;hb=9d670d25f8bbab226f8ae6be48a8126f989f82b9;hp=26a0946f06301ab61fbd0da957439782765a2cc0;hpb=80ee6ee1d2f8c0b6f91859f48c2acb984ea0429c;p=quix0rs-gnu-social.git diff --git a/index.php b/index.php index 26a0946f06..53fd1bfe66 100644 --- a/index.php +++ b/index.php @@ -1,18 +1,18 @@ . */ @@ -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)) {