Changeset 19678
- Timestamp:
- 06/29/09 16:11:56 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
components/dependency_injection/trunk/lib/sfServiceContainerAutoloader.php
r16741 r19678 26 26 { 27 27 ini_set('unserialize_callback_func', 'spl_autoload_call'); 28 if (!spl_autoload_register(array(new self, 'autoload'))) 29 { 30 throw new RuntimeException(sprintf('Unable to register %s::autoload as an autoloading method.', __CLASS__)); 31 } 28 spl_autoload_register(array(new self, 'autoload')); 32 29 } 33 30