Changeset 5124
- Timestamp:
- Mar 13, 2010, 1:23:05 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 4 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_upgrade.php
r5021 r5124 69 69 } 70 70 71 // Create empty local files to avoid log errors72 function create_empty_local_files()73 {74 $files =75 array (76 PHPWG_ROOT_PATH . 'template-common/local-layout.css',77 PHPWG_ROOT_PATH . 'template/yoga/local-layout.css'78 );79 80 foreach ($files as $path)81 {82 if (!file_exists ($path))83 {84 $file = @fopen($path, "w");85 @fwrite($file , '/* You can modify this file */');86 @fclose($file);87 }88 }89 }90 91 71 // Deactivate all non-standard plugins 92 72 function deactivate_non_standard_plugins() -
trunk/install.php
r5123 r5124 313 313 @fclose($fp); 314 314 315 // Create empty local files to avoid log errors316 create_empty_local_files();317 318 315 // tables creation, based on piwigo_structure.sql 319 316 execute_sqlfile( -
trunk/themes/default/default-colors.css
r5123 r5124 52 52 margin: 5px; 53 53 border: 1px solid red; 54 background-image: url(icon/ admin/errors.png);54 background-image: url(icon/errors.png); 55 55 background-repeat: no-repeat; 56 56 background-position: top right; … … 64 64 color: #002000; 65 65 background-color: #98fb98; /* palegreen */ 66 background-image: url(icon/ admin/infos.png);66 background-image: url(icon/infos.png); 67 67 background-repeat: no-repeat; 68 68 background-position: top right; -
trunk/upgrade.php
r5123 r5124 292 292 deactivate_non_standard_plugins(); 293 293 } 294 295 // Create empty local files to avoid log errors296 create_empty_local_files();297 294 298 295 $page['upgrade_end'] = get_moment();
Note: See TracChangeset
for help on using the changeset viewer.