install/includes/common.php
changeset 390 9bcc185dc151
parent 354 979d99a0b00e
child 400 7eef739a5b81
equal deleted inserted replaced
389:da3bb3e99323 390:9bcc185dc151
   103 if ( version_compare(PHP_VERSION, '5.0.0', '>=') )
   103 if ( version_compare(PHP_VERSION, '5.0.0', '>=') )
   104 {
   104 {
   105   require(ENANO_ROOT . '/includes/json2.php');
   105   require(ENANO_ROOT . '/includes/json2.php');
   106 }
   106 }
   107 
   107 
       
   108 strip_magic_quotes_gpc();
       
   109 
   108 // Build a list of available languages
   110 // Build a list of available languages
   109 $dir = @opendir( ENANO_ROOT . '/language' );
   111 $dir = @opendir( ENANO_ROOT . '/language' );
   110 if ( !$dir )
   112 if ( !$dir )
   111   die('CRITICAL: could not open language directory');
   113   die('CRITICAL: could not open language directory');
   112 
   114