// Joshua Eichorn
// Gregory Beaver
//
// phpDocumentor, a program for creating javadoc style documentation from php code
// Copyright (C) 2000-2002 Joshua Eichorn
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
//
// Copyleft 2001 Juan Pablo Morales
// set up include path so we can find all files, no matter what
$GLOBALS['_phpDocumentor_install_dir'] = dirname(realpath(__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',$GLOBALS['_phpDocumentor_install_dir'].';'.ini_get('include_path'));
else
ini_set('include_path',$GLOBALS['_phpDocumentor_install_dir'].':'.ini_get('include_path'));
/**
* common file information
*/
include_once("phpDocumentor/common.inc.php");
if (!function_exists('version_compare'))
{
print "phpDocumentor requires PHP version 4.1.0 or greater to function";
exit;
}
// find the .ini directory by parsing phpDocumentor.ini and extracting _phpDocumentor_options[userdir]
$ini = phpDocumentor_parse_ini_file($_phpDocumentor_install_dir . PATH_DELIMITER . 'phpDocumentor.ini', true);
if (isset($ini['_phpDocumentor_options']['userdir']))
$configdir = $ini['_phpDocumentor_options']['userdir'];
else
$configdir = $_phpDocumentor_install_dir . '/user';
// allow the user to change this at runtime
if (!empty($_REQUEST['altuserdir'])) $configdir = $_REQUEST['altuserdir'];
?>
Form to submit to phpDocumentor v
";
echo "Parsing Files ...
";
flush();
echo "\n";
/** phpdoc.inc */
include("phpDocumentor/phpdoc.inc");
echo "
\n";
echo "Operation Completed!!
";
} else {
?>
Form to submit to phpDocumentor v
Web-Interface Author:
Juan Pablo Morales
ju-moral@uniandes.edu.co
Gregory Beaver
cellog@users.sourceforge.net, all post-0.3.0 modifications
If you have any problems with phpDocumentor, please visit the website: phpdocu.sourceforge.net and
submit a bug
Last modified: $Date: 2005/10/17 18:15:16 $
Revision: $Revision: 1.1 $