mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 01:09:21 +02:00
* some fix
This commit is contained in:
parent
041702615f
commit
87ba018ab8
@ -55,7 +55,7 @@ if(empty($uri) || isset($_REQUEST['template'])) {
|
||||
$_REQUEST['p'] = 'news';
|
||||
$found = true;
|
||||
}
|
||||
else if(file_exists(SYSTEM . 'pages/' . $uri . '.php')) {
|
||||
else if(!preg_match('/[^A-z0-9_\-]/', $uri) && file_exists(SYSTEM . 'pages/' . $uri . '.php')) {
|
||||
$_REQUEST['p'] = $uri;
|
||||
$found = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user