Efficiency enhancement for upgrade and upgrade_schema by running global tasks one time rather than for each domain.

This commit is contained in:
Mark Crane
2012-08-14 21:59:45 +00:00
parent cc9fbb99a3
commit 17af99d5e5
14 changed files with 562 additions and 459 deletions
+3 -1
View File
@@ -27,7 +27,9 @@
if (strlen($_SESSION['switch']['scripts']['dir']) > 0) {
//if the resource scripts resource directory does not exist then create it
if (!is_dir($_SESSION['switch']['scripts']['dir']."/resources")) { mkdir($_SESSION['switch']['scripts']['dir']."/resources",0755,true); }
if ($domains_processed == 1) {
if (!is_dir($_SESSION['switch']['scripts']['dir']."/resources")) { mkdir($_SESSION['switch']['scripts']['dir']."/resources",0755,true); }
}
}
?>