Ignore:
Timestamp:
Mar 13, 2010, 1:23:05 AM (14 years ago)
Author:
patdenice
Message:

feature 1502
Remove automatic file creation for local-layout.css during install or upgrade.php.
Move icon/admin directory from default theme.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_upgrade.php

    r5021 r5124  
    6969}
    7070
    71 // Create empty local files to avoid log errors
    72 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 
    9171// Deactivate all non-standard plugins
    9272function deactivate_non_standard_plugins()
Note: See TracChangeset for help on using the changeset viewer.