diff options
author | Johan "Papa" Cwiklinski <trasher@odysseus.(none)> | 2010-08-01 09:10:38 +0200 |
---|---|---|
committer | Johan "Papa" Cwiklinski <trasher@odysseus.(none)> | 2010-08-01 09:10:38 +0200 |
commit | b8307ab30e45b55d403f56ddf0a6715c00dd8d20 (patch) | |
tree | 146b7d1c713d9dbfdcfeaa98358a47cb0b99b775 /fedcli.php | |
parent | 12b1b6ecf7c8cc0e6ff418443787d7c247aa413a (diff) | |
parent | 6e6d59bf0677c6b2d5b92a6abdab15a7ecaf9947 (diff) |
Report Remi's modifications
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']); |