Changeset 2683
- Timestamp:
- 08/19/08 16:58:44 (5 months ago)
- Location:
- branches/1.0
- Files:
-
- 2 modified
-
CHANGELOG (modified) (1 diff)
-
src/core/AgaviContext.class.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/CHANGELOG
r2679 r2683 6 6 7 7 ADD: Allow skipping of template auto-assigns (#605) (David) 8 9 CHG: Make AgaviContext implementation configurable (#815) (David) 8 10 9 11 FIX: Some config handlers use PHP-5.3-reserved-word "NAMESPACE" as constant (#810) (David, Benjamin Börngen-Schmidt) -
branches/1.0/src/core/AgaviContext.class.php
r2550 r2683 35 35 * @version $Id$ 36 36 */ 37 finalclass AgaviContext37 class AgaviContext 38 38 { 39 39 /** … … 122 122 123 123 /** 124 * Constuctor method, intentionally made pr ivateso the context cannot be124 * Constuctor method, intentionally made protected so the context cannot be 125 125 * created directly. 126 126 * … … 131 131 * @since 0.9.0 132 132 */ 133 pr ivatefunction __construct($name)133 protected function __construct($name) 134 134 { 135 135 $this->name = $name; … … 246 246 $profile = strtolower($profile); 247 247 if(!isset(self::$instances[$profile])) { 248 $class = __CLASS__;248 $class = AgaviConfig::get('core.context_implementation', __CLASS__); 249 249 self::$instances[$profile] = new $class($profile); 250 250 self::$instances[$profile]->initialize();

