cvs: pear /PhpDocumentor/docbuilder file_dialog.php

From: Date: Wed, 22 Feb 2006 22:40:22 +0000
Subject: cvs: pear /PhpDocumentor/docbuilder file_dialog.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-38515@lists.php.net to get a copy of this message
cellog Wed Feb 22 22:40:22 2006 UTC Modified files: /pear/PhpDocumentor/docbuilder file_dialog.php Log: fix non-PEAR install file_dialog http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/docbuilder/file_dialog.php?r1=1.2&r2=1.3&diff_format=u Index: pear/PhpDocumentor/docbuilder/file_dialog.php diff -u pear/PhpDocumentor/docbuilder/file_dialog.php:1.2 pear/PhpDocumentor/docbuilder/file_dialog.php:1.3 --- pear/PhpDocumentor/docbuilder/file_dialog.php:1.2 Sun Nov 20 19:26:05 2005 +++ pear/PhpDocumentor/docbuilder/file_dialog.php Wed Feb 22 22:40:22 2006 @@ -46,6 +46,8 @@ $configdir = '@DATA-DIR@' . PATH_DELIMITER . 'PhpDocumentor/user'; } } else { + + $root_dir = dirname(dirname(__FILE__)); /** * common file information */ @@ -53,8 +55,6 @@ include_once("$root_dir/HTML_TreeMenu-1.1.2/TreeMenu.php"); include_once("$root_dir/docbuilder/includes/utilities.php" ); - $root_dir = dirname(dirname(__FILE__)); - // set up include path so we can find all files, no matter what $GLOBALS['_phpDocumentor_install_dir'] = dirname(dirname( realpath( __FILE__ ) )); // add my directory to the include path, and make it first, should fix any errors

« previous php.pear.cvs (#38515) next »