equal
deleted
inserted
replaced
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 |