Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vodoo
php5-pear-phpdocumentor
php5-pear-phpdocumentor.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php5-pear-phpdocumentor.patch of Package php5-pear-phpdocumentor
diff --git a/phpDocumentor/phpdoc.inc b/phpDocumentor/phpdoc.inc index 1c1f2d6..4951a58 100755 --- a/phpDocumentor/phpdoc.inc +++ b/phpDocumentor/phpdoc.inc @@ -39,11 +39,7 @@ * @todo CS cleanup - change package to PhpDocumentor */ - -// set up include path so we can find all files, no matter what -$a = explode('/', str_replace('\\', '/', dirname(realpath(__FILE__)))); -array_pop($a); -$GLOBALS['_phpDocumentor_install_dir'] = join('/', $a); +$GLOBALS['_phpDocumentor_install_dir'] = realpath(dirname(__FILE__)); // add my directory to the include path, and make it first, should fix any errors if (substr(PHP_OS, 0, 3) == 'WIN') ini_set('include_path',
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor