import v1.1.0_beta1 | 2009-08-21
This commit is contained in:
@ -17,16 +17,10 @@
|
||||
* @subpackage StrikeIron
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: StrikeIron.php 8539 2008-03-04 20:29:55Z darby $
|
||||
* @version $Id: StrikeIron.php 15577 2009-05-14 12:43:34Z matthew $
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @see Zend_Loader
|
||||
*/
|
||||
require_once 'Zend/Loader.php';
|
||||
|
||||
|
||||
/**
|
||||
* This class allows StrikeIron authentication credentials to be specified
|
||||
* in one place and provides a factory for returning instances of different
|
||||
@ -74,7 +68,10 @@ class Zend_Service_StrikeIron
|
||||
}
|
||||
|
||||
try {
|
||||
@Zend_Loader::loadClass($class);
|
||||
if (!class_exists($class)) {
|
||||
require_once 'Zend/Loader.php';
|
||||
@Zend_Loader::loadClass($class);
|
||||
}
|
||||
if (!class_exists($class, false)) {
|
||||
throw new Exception('Class file not found');
|
||||
}
|
||||
|
Reference in New Issue
Block a user