diff options
Diffstat (limited to 'fedcli.php')
-rwxr-xr-x | fedcli.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -23,9 +23,10 @@ * See <http://www.gnu.org/licenses/> */ +define ('CLIONLY', true); +require 'include/main.php'; require 'Console/Getargs.php'; -require 'class/FedoraClient.php'; function Help() { echo "\nFedora Client Command Line usage\n\n"; @@ -136,7 +137,7 @@ function Version() { die (Console_Getargs::getHelp($config)."\n"); } - echo "PHP Fedora Client class version ".FEDORACLIENT_VERSION."\n"; + echo "PHP Fedora Client class version ".FedoraClient::VERSION."\n"; } $cmd = array_shift($_SERVER['argv']); |