Skip to content
Snippets Groups Projects
Commit 171f280d authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

check for magic quotes

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1328 44740490-163a-0410-bde0-09ae8108e29a
parent 363027e3
No related branches found
No related tags found
No related merge requests found
...@@ -267,6 +267,13 @@ $funcmatrix[] = array( ...@@ -267,6 +267,13 @@ $funcmatrix[] = array(
'enabled' => $password_ok 'enabled' => $password_ok
); );
$funcmatrix[] = array(
'required' => 'required',
'descr' => 'Magic Quotes should be turned off',
'enabled' => (get_magic_quotes_runtime() === 0)
);
$t = new SimpleSAML_XHTML_Template($config, 'frontpage.php', 'frontpage'); $t = new SimpleSAML_XHTML_Template($config, 'frontpage.php', 'frontpage');
$t->data['isadmin'] = $isadmin; $t->data['isadmin'] = $isadmin;
$t->data['loginurl'] = $loginurl; $t->data['loginurl'] = $loginurl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment