Skip to content

Instantly share code, notes, and snippets.

@jonathankowalski
Created August 6, 2012 17:51
Show Gist options
  • Save jonathankowalski/3277114 to your computer and use it in GitHub Desktop.
Save jonathankowalski/3277114 to your computer and use it in GitHub Desktop.
<?php
try{
$path = $this->standardInclude( $classname );
$this->cacheManager->addPath( $classname, $path );
} catch ( NotStandardInclude $e ){
if( $this->autoloadInDir( $classname ) ){
return $this->autoload( $classname );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment