Changeset 5979 for extensions
- Timestamp:
- Apr 27, 2010, 11:19:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/prepare21upgrade/prepare21upgrade.php
r5265 r5979 173 173 } 174 174 175 // template/yoga/local-layout.css 176 $file = PHPWG_ROOT_PATH.'/template/yoga/local-layout.css'; 177 if (file_exists($file)) 178 { 179 copy($file, $dir.'/local/css/default-rules.css'); 175 // template/xxx/local-layout.css 176 $known_templates = array( 177 'yoga' => 'default', 178 'floPure' => 'Pure_default', 179 'floOs' => 'OS_default', 180 'gally' => 'gally-default', 181 'simple' => 'simple', 182 ); 183 184 foreach ($known_templates as $old_tpl => $new_tpl) 185 { 186 $file = PHPWG_ROOT_PATH.'/template/'.$old_tpl.'/local-layout.css'; 187 if (file_exists($file)) 188 { 189 copy($file, $dir.'/local/css/'.$new_tpl.'-rules.css'); 190 } 180 191 } 181 192
Note: See TracChangeset
for help on using the changeset viewer.