forked from science-ation/science-ation
5e9ee05606
magic quotes DEPRECATED as of PHP 5.3.0, REMOVE as of 6.0, on by default for any PHP < 5.3.0. Pain in the ASS. php is running the urldecode for us, seeing that the string has quotes, then adding quotes before we can json_decode(). It only does this in POST and GET
10 lines
224 B
ApacheConf
10 lines
224 B
ApacheConf
php_flag register_globals off
|
|
php_flag magic_quotes_gpc off
|
|
RewriteEngine On
|
|
|
|
RewriteCond %{SCRIPT_FILENAME} !-f
|
|
RewriteCond %{SCRIPT_FILENAME} !-l
|
|
RewriteCond %{SCRIPT_FILENAME} !-d
|
|
RewriteRule ^web/(.*)$ cms.php?f=$1 [L]
|
|
|