From cd1ecef75fad711798eb2120b15a7e554a31654c Mon Sep 17 00:00:00 2001 From: Thibaut GRIDEL Date: Sun, 2 May 2010 22:33:36 +0200 Subject: [PATCH] some more includes --- inc/Console/Getopt.php | 4 ++-- inc/System.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/Console/Getopt.php b/inc/Console/Getopt.php index 7966d1acd9..6f2f9c7307 100755 --- a/inc/Console/Getopt.php +++ b/inc/Console/Getopt.php @@ -18,7 +18,7 @@ // // $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. @@ -72,7 +72,7 @@ class Console_Getopt { * This function expects $args to start with the script name (POSIX-style). * Preserved for backwards compatibility. * @see getopt2() - */ + */ function getopt($args, $short_options, $long_options = null) { return Console_Getopt::doGetopt(1, $args, $short_options, $long_options); diff --git a/inc/System.php b/inc/System.php index dc3acee97d..a9279ff687 100755 --- a/inc/System.php +++ b/inc/System.php @@ -19,8 +19,8 @@ // $Id: System.php,v 1.36 2004/06/15 16:33:46 pajoye Exp $ // -require_once 'PEAR.php'; -require_once 'Console/Getopt.php'; +oc_require_once( 'PEAR.php'); +oc_require_once( 'Console/Getopt.php'); $GLOBALS['_System_temp_files'] = array();