diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-04-10 20:57:05 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-04-10 20:57:05 +0200 |
commit | 39c125d74a2284af307a6d8e1e1f20345d28e2c1 (patch) | |
tree | 030cd6e79946fad8ddfd2a5cdecf93943a9a5d4b /inc/cliopts.php | |
parent | 6deb5405c94e1622dcf3ff1548c4d98fe6decda5 (diff) | |
download | rpg-39c125d74a2284af307a6d8e1e1f20345d28e2c1.tar.gz rpg-39c125d74a2284af307a6d8e1e1f20345d28e2c1.tar.bz2 |
fixed problem in inc/clieopts.php which caused argument parsing to break
darcs-hash:20080410185705-7ad00-a01867c52f9b69c22000aaa2963b58d65f49baf0.gz
Diffstat (limited to 'inc/cliopts.php')
-rw-r--r-- | inc/cliopts.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/cliopts.php b/inc/cliopts.php index 6ca8de748..3623d35ad 100644 --- a/inc/cliopts.php +++ b/inc/cliopts.php @@ -86,7 +86,7 @@ define('DOKU_CLI_OPTS_ARG_READ',5);//Could not read argv } // Compatibility between "php extensions.php" and "./extensions.php" - if ( fullpath($_SERVER['argv'][0]) == $bin_file ) { + if ( realpath($_SERVER['argv'][0]) == $bin_file ) { $options = Doku_Cli_Opts::getOpt($args,$short_options,$long_options); } else { $options = Doku_Cli_Opts::getOpt2($args,$short_options,$long_options); |