Changeset 5124


Ignore:
Timestamp:
Mar 13, 2010, 1:23:05 AM (15 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.

Location:
trunk
Files:
1 deleted
4 edited
2 copied

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()
  • trunk/install.php

    r5123 r5124  
    313313    @fclose($fp);
    314314
    315     // Create empty local files to avoid log errors
    316     create_empty_local_files();
    317 
    318315    // tables creation, based on piwigo_structure.sql
    319316    execute_sqlfile(
  • trunk/themes/default/default-colors.css

    r5123 r5124  
    5252        margin: 5px;
    5353        border: 1px solid red;
    54         background-image: url(icon/admin/errors.png);
     54        background-image: url(icon/errors.png);
    5555        background-repeat: no-repeat;
    5656        background-position: top right;
     
    6464        color: #002000;
    6565        background-color: #98fb98; /* palegreen */
    66         background-image: url(icon/admin/infos.png);
     66        background-image: url(icon/infos.png);
    6767        background-repeat: no-repeat;
    6868        background-position: top right;
  • trunk/upgrade.php

    r5123 r5124  
    292292      deactivate_non_standard_plugins();
    293293    }
    294 
    295     // Create empty local files to avoid log errors
    296     create_empty_local_files();
    297294
    298295    $page['upgrade_end'] = get_moment();
Note: See TracChangeset for help on using the changeset viewer.