]> git.andy128k.dev Git - ipf.git/commitdiff
php 5.2 friendly autoloader
authorAndrey Kutejko <andy128k@gmail.com>
Tue, 13 Aug 2013 06:20:48 +0000 (09:20 +0300)
committerAndrey Kutejko <andy128k@gmail.com>
Tue, 13 Aug 2013 06:20:48 +0000 (09:20 +0300)
ipf.php

diff --git a/ipf.php b/ipf.php
index 0505f2e6c0ece04a8a2bf1a1f70c6cda87e29c84..5b378cf7a5dbe2ed0dca4d84970e64d91b42d89a 100644 (file)
--- a/ipf.php
+++ b/ipf.php
@@ -173,7 +173,7 @@ class IPF_ClassLoader
 
         $this->classMap = require $vendor_path . '/composer/autoload_classmap.php';
 
-        spl_autoload_register(array($this, 'load'), true, true);
+        spl_autoload_register(array($this, 'load'), true);
     }
 
     public function load($class)