Changeset 7627
- Timestamp:
- 02/27/08 13:37:43 (8 months ago)
- Files:
-
- branches/1.1/lib/config/config/factories.yml (modified) (1 diff)
- branches/1.1/lib/routing/sfRouting.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/config/config/factories.yml
r7626 r7627 55 55 default_module: default 56 56 default_action: index 57 debug: %SF_DEBUG% 57 58 logging: %SF_LOGGING_ENABLED% 58 59 cache: branches/1.1/lib/routing/sfRouting.class.php
r7616 r7627 45 45 * Initializes this sfRouting instance. 46 46 * 47 * Available options: 48 * 49 * * default_module: The default module name 50 * * default_action: The default action name 51 * * logging: Whether to log or not (false by default) 52 * * debug: Whether to cache or not (false by default) 53 * 47 54 * @param sfEventDispatcher A sfEventDispatcher instance 48 55 * @param sfCache A sfCache instance … … 52 59 { 53 60 $this->dispatcher = $dispatcher; 54 $this->cache = $cache; 61 62 $options['debug'] = isset($options['debug']) ? (boolean) $options['debug'] : false; 63 64 // disable caching when in debug mode 65 $this->cache = $options['debug'] ? null : $cache; 55 66 56 67 if (isset($options['default_module']))