feature 1502

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

git-svn-id: http://piwigo.org/svn/trunk@5124 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
patdenice
2010-03-13 00:23:05 +00:00
parent 14778ce673
commit 5958c85b7f
7 changed files with 2 additions and 58 deletions
-20
View File
@@ -68,26 +68,6 @@ function prepare_conf_upgrade()
define('OLD_PERMALINKS_TABLE', $prefixeTable.'old_permalinks');
}
// Create empty local files to avoid log errors
function create_empty_local_files()
{
$files =
array (
PHPWG_ROOT_PATH . 'template-common/local-layout.css',
PHPWG_ROOT_PATH . 'template/yoga/local-layout.css'
);
foreach ($files as $path)
{
if (!file_exists ($path))
{
$file = @fopen($path, "w");
@fwrite($file , '/* You can modify this file */');
@fclose($file);
}
}
}
// Deactivate all non-standard plugins
function deactivate_non_standard_plugins()
{