Skip to content

Instantly share code, notes, and snippets.

@prggmr
Created May 31, 2011 20:12
Show Gist options
  • Save prggmr/1001179 to your computer and use it in GitHub Desktop.
Save prggmr/1001179 to your computer and use it in GitHub Desktop.
Prggmr Autoload ZF
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