summaryrefslogtreecommitdiff
path: root/create_firebird_database.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2005-06-28 07:45:45 +0000
committerChristian Fowler <spider@viovio.com>2005-06-28 07:45:45 +0000
commit54937494744116492a4392f0cfb7fb9b625b124c (patch)
tree63ce18cfeb3b51f286538bde85ef19371e68adcf /create_firebird_database.php
parent0e99211955eb1a6ca4a09e79506faf4d80cabac0 (diff)
downloadinstall-54937494744116492a4392f0cfb7fb9b625b124c.tar.gz
install-54937494744116492a4392f0cfb7fb9b625b124c.tar.bz2
install-54937494744116492a4392f0cfb7fb9b625b124c.zip
Merge recent changes from R1 into HEAD
Diffstat (limited to 'create_firebird_database.php')
-rw-r--r--create_firebird_database.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/create_firebird_database.php b/create_firebird_database.php
index 818d3d1..bbae382 100644
--- a/create_firebird_database.php
+++ b/create_firebird_database.php
@@ -1,4 +1,9 @@
<?php
+/**
+ * @version $Header: /cvsroot/bitweaver/_bit_install/create_firebird_database.php,v 1.2 2005/06/28 07:45:45 spiderr Exp $
+ * @package install
+ * @subpackage functions
+ */
/**
V4.22 15 Apr 2004 (c) 2000-2004 John Lim (jlim@natsoft.com.my). All rights reserved.
@@ -13,11 +18,9 @@
Still need to be extended to allow selection of OS tmp directory,
and path to Firebird bin directory
*/
-
-// This needs tidying up and linking properly at some point
function FirebirdCreateDB($host, $user, $pass, $dbalias, $fbpath)
{
- $sql = 'CREATE DATABASE "'.$host.':'.$dbalias.'"';
+ $sql = 'CREATE DATABASE "'.$host.':'.$dbalias.'"';
if (strlen($user) > 0)
$sql .= ' USER "'.$user.'"';
if (strlen($pass) > 0)