diff --git a/gen_function_list.php b/gen_function_list.php
index 9f828273185131f9918ba838313a242dbe3f7e18..c04d2e3d1538ca82961905e729bd63fd977e1356 100755 (executable)
--- a/gen_function_list.php
+++ b/gen_function_list.php
-#!/usr/bin/php4 -q
+#!/usr/bin/php -q
<?php
/*
/*
<?php
/*
/*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-include('include/functions_test.inc');
+$current_dir=trim(`pwd`);
+include($current_dir.'/include/functions_test.inc');
// Build Array of called functions
// Build Array of called functions
-$array= test_defined_functions('./');
+$array= test_defined_functions();
// Write List to file
// Write List to file
-$file= 'include/functions_list.inc';
+$file= $current_dir.'/include/functions_list.inc';
// If file does not exist, create it
if(!file_exists($file)) {
// If file does not exist, create it
if(!file_exists($file)) {