aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--install.php2
-rw-r--r--install/upgrade_1.3.1.php2
-rw-r--r--install/upgrade_1.4.0.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/install.php b/install.php
index ac8577943..068c64a01 100644
--- a/install.php
+++ b/install.php
@@ -71,7 +71,7 @@ function execute_sqlfile($filepath, $replaced, $replacing)
$query = $matches[1].' '.$install_charset_collate.';';
}
}
- mysql_query($query);
+ pwg_query($query);
}
$query = '';
}
diff --git a/install/upgrade_1.3.1.php b/install/upgrade_1.3.1.php
index fa7708f6a..1b84b9232 100644
--- a/install/upgrade_1.3.1.php
+++ b/install/upgrade_1.3.1.php
@@ -42,7 +42,7 @@ $query = '
SELECT prefix_thumbnail, mail_webmaster
FROM '.PREFIX_TABLE.'config
;';
-$save = mysql_fetch_array(mysql_query($query));
+$save = mysql_fetch_array(pwg_query($query));
$queries = array(
"
diff --git a/install/upgrade_1.4.0.php b/install/upgrade_1.4.0.php
index f49e2f9f2..b1b576f27 100644
--- a/install/upgrade_1.4.0.php
+++ b/install/upgrade_1.4.0.php
@@ -64,7 +64,7 @@ DELETE
\'authorize_remembering\'
)
;';
-mysql_query($query);
+pwg_query($query);
$queries = array(