Changeset 984 for trunk/engine/modules/viewer/Viewer.class.php
- Timestamp:
- 08/16/10 16:49:12 (21 months ago)
- Files:
-
- 1 modified
-
trunk/engine/modules/viewer/Viewer.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/engine/modules/viewer/Viewer.class.php
r976 r984 168 168 public function Init($bLocal=false) { 169 169 $this->Hook_Run('viewer_init_start',compact('bLocal')); 170 /** 171 * Load template config 172 */ 173 if (!$bLocal) { 174 if(file_exists(Config::Get('path.smarty.template').'/settings/config/config.php')) { 175 Config::LoadFromFile(Config::Get('path.smarty.template').'/settings/config/config.php',false); 176 } 177 } 170 178 /** 171 179 * Заголовок HTML страницы
