Changeset 11776
- Timestamp:
- 09/25/08 12:11:40 (5 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/config/sfProjectConfiguration.class.php
r10699 r11776 298 298 static public function getActive() 299 299 { 300 if (is_null(sfProjectConfiguration::$active)) 301 { 302 throw new RuntimeException('There is no active configuration.'); 303 } 304 300 305 return sfProjectConfiguration::$active; 301 306 } branches/1.2/lib/config/sfProjectConfiguration.class.php
r11736 r11776 398 398 static public function getActive() 399 399 { 400 if (is_null(sfProjectConfiguration::$active)) 401 { 402 throw new RuntimeException('There is no active configuration.'); 403 } 404 400 405 return sfProjectConfiguration::$active; 401 406 }