Created
May 31, 2011 20:12
-
-
Save prggmr/1001179 to your computer and use it in GitHub Desktop.
Prggmr Autoload ZF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spl_autoload_register(function($file) { | |
if (!defined('PRGGMR_VERSION')) { | |
if (strpos($file, 'prggmr') !== false) { | |
include_once 'prggmr/prggmr.php'; | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment