Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed a bug: EXT is not defined in recent versions of CodeIgniter #24

Open
wants to merge 1 commit into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 9, 2012
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 0 deletions.
  1. +5 −0 application/core/MY_Loader.php
View
5 application/core/MY_Loader.php
@@ -165,6 +165,11 @@ function _ci_autoloader($basepath = NULL)
*/
function ci_autoloader($basepath = NULL)
{
+ if (!defined('EXT'))
+ {
+ define('EXT', '.php');
+ }
+
if($basepath !== NULL)
{
$autoload_path = $basepath.'config/autoload'.EXT;
Something went wrong with that request. Please try again.