cvs: pear /MDB2_Schema/docs/examples parse.php
| From: | Lukas Smith | Date: | Tue, 15 Aug 2006 21:45:15 +0000 |
| Subject: | cvs: pear /MDB2_Schema/docs/examples parse.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-41620@lists.php.net to get a copy of this message | ||
lsmith Tue Aug 15 21:45:15 2006 UTC
Modified files:
/pear/MDB2_Schema/docs/examples parse.php
Log:
- fix evil short tags and added include path setting to enable testing inside a CVS checkout
http://cvs.php.net/viewvc.cgi/pear/MDB2_Schema/docs/examples/parse.php?r1=1.1&r2=1.2&diff_format=u
Index: pear/MDB2_Schema/docs/examples/parse.php
diff -u pear/MDB2_Schema/docs/examples/parse.php:1.1 pear/MDB2_Schema/docs/examples/parse.php:1.2
--- pear/MDB2_Schema/docs/examples/parse.php:1.1 Tue Aug 15 20:06:16 2006
+++ pear/MDB2_Schema/docs/examples/parse.php Tue Aug 15 21:45:15 2006
@@ -42,9 +42,11 @@
// | Author: Igor Feghali <ifeghali@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: parse.php,v 1.1 2006/08/15 20:06:16 ifeghali Exp $
+// $Id: parse.php,v 1.2 2006/08/15 21:45:15 lsmith Exp $
//
+#ini_set('include_path',
'../../'.PATH_SEPARATOR.ini_get('include_path'));
+
include 'MDB2/Schema.php';
include 'MDB2/Schema/Parser.php';
@@ -54,7 +56,7 @@
?>
<pre>
-<?
+<?php
if (PEAR::isError($schema->error))
{
print_r($parser->error);