Skip to content

Commit 082cf78

Browse files
committed
Hardcoded $page and $module variables in content.php.
1 parent 60bc9cd commit 082cf78

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

interface/web/content.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,13 @@
3131
require_once('../lib/config.inc.php');
3232
require_once('../lib/app.inc.php');
3333

34+
/*
3435
$module = $_REQUEST["s_mod"];
3536
$page = $_REQUEST["s_pg"];
37+
*/
38+
39+
$module = 'login';
40+
$page = 'index';
3641

3742
if(!preg_match("/^[a-z]{2,20}$/i", $module)) die('module name contains unallowed chars.');
3843
if(!preg_match("/^[a-z]{2,20}$/i", $page)) die('page name contains unallowed chars.');

0 commit comments

Comments
 (0)