some more includes
This commit is contained in:
parent
bc8aed9e79
commit
cd1ecef75f
|
@ -18,7 +18,7 @@
|
||||||
//
|
//
|
||||||
// $Id: Getopt.php,v 1.21.4.7 2003/12/05 21:57:01 andrei Exp $
|
// $Id: Getopt.php,v 1.21.4.7 2003/12/05 21:57:01 andrei Exp $
|
||||||
|
|
||||||
require_once 'PEAR.php';
|
oc_require_once( 'PEAR.php');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Command-line options parsing class.
|
* Command-line options parsing class.
|
||||||
|
@ -72,7 +72,7 @@ class Console_Getopt {
|
||||||
* This function expects $args to start with the script name (POSIX-style).
|
* This function expects $args to start with the script name (POSIX-style).
|
||||||
* Preserved for backwards compatibility.
|
* Preserved for backwards compatibility.
|
||||||
* @see getopt2()
|
* @see getopt2()
|
||||||
*/
|
*/
|
||||||
function getopt($args, $short_options, $long_options = null)
|
function getopt($args, $short_options, $long_options = null)
|
||||||
{
|
{
|
||||||
return Console_Getopt::doGetopt(1, $args, $short_options, $long_options);
|
return Console_Getopt::doGetopt(1, $args, $short_options, $long_options);
|
||||||
|
|
|
@ -19,8 +19,8 @@
|
||||||
// $Id: System.php,v 1.36 2004/06/15 16:33:46 pajoye Exp $
|
// $Id: System.php,v 1.36 2004/06/15 16:33:46 pajoye Exp $
|
||||||
//
|
//
|
||||||
|
|
||||||
require_once 'PEAR.php';
|
oc_require_once( 'PEAR.php');
|
||||||
require_once 'Console/Getopt.php';
|
oc_require_once( 'Console/Getopt.php');
|
||||||
|
|
||||||
$GLOBALS['_System_temp_files'] = array();
|
$GLOBALS['_System_temp_files'] = array();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue