diff options
Diffstat (limited to 'installer/libraries/Mysql_Driver.php')
-rw-r--r-- | installer/libraries/Mysql_Driver.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/libraries/Mysql_Driver.php b/installer/libraries/Mysql_Driver.php index 81848374..a2f52fc0 100644 --- a/installer/libraries/Mysql_Driver.php +++ b/installer/libraries/Mysql_Driver.php @@ -1,4 +1,4 @@ -<?php +<?php defined("SYSPATH") or die("No direct script access."); /** * Gallery - a web based photo album viewer and editor * Copyright (C) 2000-2008 Bharat Mediratta @@ -19,7 +19,7 @@ */ class Mysql_Driver { private $link; - + public function __construct($server, $user, $password) { $this->link = @mysql_connect($server, $user, $password); if (!$this->link) { |