cvs: pear /DB_DataObject/DataObject createTables.php

From: Date: Thu, 15 Aug 2002 03:44:21 +0000
Subject: cvs: pear /DB_DataObject/DataObject createTables.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-5747@lists.php.net to get a copy of this message
alan_k Wed Aug 14 23:44:21 2002 EDT Modified files: /pear/DB_DataObject/DataObject createTables.php Log: revert accidental change to createTables Index: pear/DB_DataObject/DataObject/createTables.php diff -u pear/DB_DataObject/DataObject/createTables.php:1.6 pear/DB_DataObject/DataObject/createTables.php:1.7 --- pear/DB_DataObject/DataObject/createTables.php:1.6 Wed Aug 14 23:42:22 2002 +++ pear/DB_DataObject/DataObject/createTables.php Wed Aug 14 23:44:21 2002 @@ -20,11 +20,11 @@ require_once("DB/DataObject/Generator.php"); -if (!@$argv[1]) { +if (!@$_SERVER['argv'][1]) { PEAR::raiseError("\nERROR: createTable.php usage:\n\ncreateTable example.ini\n\n",null,PEAR_ERROR_DIE); exit; } -$config = parse_ini_file($argv[1],TRUE); +$config = parse_ini_file($_SERVER['argv'],TRUE); $options = &PEAR::getStaticProperty('DB_DataObject','options'); $options = $config['DB_DataObject']; //DB_DataObject::debugLevel(5);

« previous php.pear.cvs (#5747) next »