openrat-cms

OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs

request.inc.php (593B)


      1 <?php
      2 
      3 // TODO: We should use $_REQUEST everywhere.
      4 use logger\Logger;
      5 
      6 $REQ = array_merge($_GET,$_POST);
      7 
      8 // REGISTER_GLOBALS
      9 // This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
     10 if	( ini_get('register_globals') )
     11     Logger::warn("REGISTER_GLOBALS is active. For security reasons: DO NOT USE THIS!");
     12 
     13 // MAGIC_QUOTES
     14 // This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
     15 // always returns FALSE as of PHP 5.4.0.
     16 if	( get_magic_quotes_gpc() == 1 )
     17     Logger::warn("MAGIC_QUOTES is active. For security reasons: DO NOT USE THIS!");
     18 
     19 
     20 ?>