cvs: pear /MDB/MDB reverse_engineer_xml_schema.php
| From: | Lukas Smith | Date: | Sat, 23 Nov 2002 23:46:22 +0000 |
| Subject: | cvs: pear /MDB/MDB reverse_engineer_xml_schema.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7549@lists.php.net to get a copy of this message | ||
lsmith Sat Nov 23 18:46:22 2002 EDT
Modified files:
/pear/MDB/MDB reverse_engineer_xml_schema.php
Log:
fixed ini_set call
changed company name
Index: pear/MDB/MDB/reverse_engineer_xml_schema.php
diff -u pear/MDB/MDB/reverse_engineer_xml_schema.php:1.13
pear/MDB/MDB/reverse_engineer_xml_schema.php:1.14
--- pear/MDB/MDB/reverse_engineer_xml_schema.php:1.13 Thu Nov 14 08:36:46 2002
+++ pear/MDB/MDB/reverse_engineer_xml_schema.php Sat Nov 23 18:46:22 2002
@@ -39,10 +39,10 @@
// | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
// | POSSIBILITY OF SUCH DAMAGE. |
// +----------------------------------------------------------------------+
-// | Author: Lukas Smith <smith@dybnet.de> |
+// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
//
-// $Id: reverse_engineer_xml_schema.php,v 1.13 2002/11/14 13:36:46 lsmith Exp $
+// $Id: reverse_engineer_xml_schema.php,v 1.14 2002/11/23 23:46:22 lsmith Exp $
//
/**
@@ -50,7 +50,7 @@
*
* @package MDB
* @category Database
- * @author Lukas Smith <smith@dybnet.de>
+ * @author Lukas Smith <smith@backendmedia.com>
*/
echo ('
@@ -59,7 +59,15 @@
');
if(isset($_REQUEST['submit']) && $_REQUEST['file'] != '')
{
- ini_set('include_path', '../:'.ini_get('include_path'));
+ // BC hack to define PATH_SEPARATOR for version of PHP prior 4.3
+ if(!defined('PATH_SEPARATOR')) {
+ if(defined('DIRECTORY_SEPARATOR') && DIRECTORY_SEPARATOR ==
"\\") {
+ define('PATH_SEPARATOR', ';');
+ } else {
+ define('PATH_SEPARATOR', ':');
+ }
+ }
+ ini_set('include_path',
'../'.PATH_SEPARATOR.ini_get('include_path'));
require_once 'MDB.php';
require_once 'Var_Dump.php';
MDB::loadFile('Manager');