diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-13 01:00:40 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-13 01:00:40 +0000 |
commit | 4adff591692247debc4089e3a2f1e8fda735d502 (patch) | |
tree | 3677d1aa56dc207cc1951190984d788c9c018839 /installer/libraries/Mysql_Driver.php | |
parent | 9be9c5a3d1ba2ca95a2519bf989008cbd6bc87fc (diff) |
Fix preambles
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) { |