svn: /pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/ Commands.php
| From: | Brett Bieber | Date: | Fri, 30 Oct 2009 00:08:30 +0000 |
| Subject: | svn: /pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/ Commands.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9005@lists.php.net to get a copy of this message | ||
saltybeagle Fri, 30 Oct 2009 00:08:30 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290069
Log:
Fix parse errors in skeleton's stub.php
Changed paths:
U pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/Commands.php
Modified: pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/Commands.php
===================================================================
--- pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/Commands.php 2009-10-30 00:04:36 UTC
(rev 290068)
+++ pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/Commands.php 2009-10-30 00:08:30 UTC
(rev 290069)
@@ -534,9 +534,9 @@
}
function " . $info['package'] . "_autoload(\$class)
{
- \$class = str_replace('_', '\\', \$class);
- if (file_exists('phar://' . __FILE__ . '/" . $info['package'] .
"-@PACKAGE_VERSION@/php/' . implode('/', explode('\\', \$class)) .
'.php')) {
- include 'phar://' . __FILE__ . '/" . $info['package'] .
"-@PACKAGE_VERSION@/php/' . implode('/', explode('\\', \$class)) .
'.php';
+ \$class = str_replace('_', '\\\', \$class);
+ if (file_exists('phar://' . __FILE__ . '/" . $info['package'] .
"-@PACKAGE_VERSION@/php/' . implode('/', explode('\\\', \$class)) .
'.php')) {
+ include 'phar://' . __FILE__ . '/" . $info['package'] .
"-@PACKAGE_VERSION@/php/' . implode('/', explode('\\\', \$class)) .
'.php';
}
}
spl_autoload_register(\"" . $info['package'] . "_autoload\");