aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/profile/icondirect.php4
-rw-r--r--simplecache/view.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/mod/profile/icondirect.php b/mod/profile/icondirect.php
index 5ac9ee150..2a14c6f8a 100644
--- a/mod/profile/icondirect.php
+++ b/mod/profile/icondirect.php
@@ -45,7 +45,7 @@
$contents = '';
- if ($mysql_dblink = @mysql_connect($CONFIG->dbhost,$CONFIG->dbuser,$CONFIG->dbpass)) {
+ if ($mysql_dblink = @mysql_connect($CONFIG->dbhost,$CONFIG->dbuser,$CONFIG->dbpass, true)) {
$username = $_GET['username'];
@@ -130,4 +130,4 @@
set_input('size',$size);
require_once(dirname(__FILE__).'/icon.php');
}
-?> \ No newline at end of file
+?>
diff --git a/simplecache/view.php b/simplecache/view.php
index 3bb621036..1fae66a29 100644
--- a/simplecache/view.php
+++ b/simplecache/view.php
@@ -21,7 +21,7 @@
$contents = '';
if (!isset($viewinput)) $viewinput = $_GET;
- if ($mysql_dblink = @mysql_connect($CONFIG->dbhost,$CONFIG->dbuser,$CONFIG->dbpass)) {
+ if ($mysql_dblink = @mysql_connect($CONFIG->dbhost,$CONFIG->dbuser,$CONFIG->dbpass, true)) {
$view = $viewinput['view'];
$viewtype = $viewinput['viewtype'];
@@ -70,4 +70,4 @@
echo $chunk;
-?> \ No newline at end of file
+?>