Skip to content

Instantly share code, notes, and snippets.

@dragoonis
Created March 30, 2011 15:45
Show Gist options
  • Save dragoonis/894640 to your computer and use it in GitHub Desktop.
Save dragoonis/894640 to your computer and use it in GitHub Desktop.
<?php
// -------------- Library Autoloading Process --------------
if(!empty($this->_config->system->autoloadLibs)) {
foreach(explode(',', $this->_config->system->autoloadLibs) as $sLib) {
switch(strtolower($sLib)) {
case 'zf':
PPI_Autoload::add('Zend', array(
'path' => SYSTEMPATH . 'Vendor/',
'prefix' => 'Zend_'
));
break;
case 'solar':
Solar::start();
break;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment