openrat-cms

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

request.inc.php (590B)


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