From 082cf784bac75b11d7a5c19564adbf211de38c77 Mon Sep 17 00:00:00 2001 From: tbrehm Date: Mon, 14 Sep 2009 14:43:07 +0000 Subject: [PATCH] Hardcoded $page and $module variables in content.php. --- interface/web/content.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/interface/web/content.php b/interface/web/content.php index 8c0d3117bd..52ea21652a 100644 --- a/interface/web/content.php +++ b/interface/web/content.php @@ -31,8 +31,13 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. require_once('../lib/config.inc.php'); require_once('../lib/app.inc.php'); +/* $module = $_REQUEST["s_mod"]; $page = $_REQUEST["s_pg"]; +*/ + +$module = 'login'; +$page = 'index'; if(!preg_match("/^[a-z]{2,20}$/i", $module)) die('module name contains unallowed chars.'); if(!preg_match("/^[a-z]{2,20}$/i", $page)) die('page name contains unallowed chars.'); -- GitLab