aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-11-19 15:46:49 +0000
committerpatdenice <patdenice@piwigo.org>2008-11-19 15:46:49 +0000
commit70e5f51d005002372b1c694e1c31684f4a64eeae (patch)
treeaabda5a7d49bb2f630a40efa3e4059e28031c45e /install
parente037bbe726d8819de81ee99e28e0e18aaddc38ca (diff)
merge -c2884 from trunk to branch 2.0.
- Replace some mysql_query by pwg_query function. - Add home button after upgrade.php. - Add utf8 charset for access denied message. - Replace some #content by .content in css files. - Fix menubar blocks borders with IE. git-svn-id: http://piwigo.org/svn/branches/2.0@2885 68402e56-0260-453c-a942-63ccdbb3a9ee
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(