X-Git-Url: http://git.onelab.eu/?p=www-register-wizard.git;a=blobdiff_plain;f=codeigniter%2FCodeIgniter.php;h=dac137bf6081bf002406e10c9b6240ca0369d4b4;hp=fa4bf773f51675d985655ee6693ca57b749b3e75;hb=47598daa8c32dbbd72db83dc33f2ce91b3f6f7b0;hpb=4afb2fe256f094a1caf6bff14f51c6a88938cc9f diff --git a/codeigniter/CodeIgniter.php b/codeigniter/CodeIgniter.php index fa4bf77..dac137b 100644 --- a/codeigniter/CodeIgniter.php +++ b/codeigniter/CodeIgniter.php @@ -6,7 +6,7 @@ * * @package CodeIgniter * @author ExpressionEngine Dev Team - * @copyright Copyright (c) 2008, EllisLab, Inc. + * @copyright Copyright (c) 2008 - 2009, EllisLab, Inc. * @license http://codeigniter.com/user_guide/license.html * @link http://codeigniter.com * @since Version 1.0 @@ -28,7 +28,7 @@ */ // CI Version -define('CI_VERSION', '1.7.0'); +define('CI_VERSION', '1.7.2'); /* * ------------------------------------------------------ @@ -57,7 +57,11 @@ require(APPPATH.'config/constants'.EXT); * ------------------------------------------------------ */ set_error_handler('_exception_handler'); -set_magic_quotes_runtime(0); // Kill magic quotes + +if ( ! is_php('5.3')) +{ + @set_magic_quotes_runtime(0); // Kill magic quotes +} /* * ------------------------------------------------------ @@ -130,7 +134,7 @@ $LANG =& load_class('Language'); * Note: The Loader class needs to be included first * */ -if (floor(phpversion()) < 5) +if ( ! is_php('5.0.0')) { load_class('Loader', FALSE); require(BASEPATH.'codeigniter/Base4'.EXT);