Changeset 2103 for branches/branch-1_7/admin/include
- Timestamp:
- Sep 21, 2007, 11:12:45 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_7/admin/include/functions_upgrade.php
r1912 r2103 41 41 } 42 42 43 // Create empty local files to avoid log errors 44 function create_empty_local_files() 45 { 46 $files = 47 array ( 48 PHPWG_ROOT_PATH . 'template-common/local-layout.css', 49 PHPWG_ROOT_PATH . 'template/yoga/local-layout.css' 50 ); 51 52 foreach ($files as $path) 53 { 54 if (!file_exists ($path)) 55 { 56 $file = @fopen($path, "w"); 57 @fwrite($file , '/* You can modify this file */'); 58 @fclose($file); 59 } 60 } 61 } 43 62 44 63 ?>
Note: See TracChangeset
for help on using the changeset viewer.