summaryrefslogtreecommitdiffstats
path: root/fedcli.php
diff options
context:
space:
mode:
authorJohan "Papa" Cwiklinski <trasher@odysseus.(none)>2010-08-01 09:10:38 +0200
committerJohan "Papa" Cwiklinski <trasher@odysseus.(none)>2010-08-01 09:10:38 +0200
commitb8307ab30e45b55d403f56ddf0a6715c00dd8d20 (patch)
tree146b7d1c713d9dbfdcfeaa98358a47cb0b99b775 /fedcli.php
parent12b1b6ecf7c8cc0e6ff418443787d7c247aa413a (diff)
parent6e6d59bf0677c6b2d5b92a6abdab15a7ecaf9947 (diff)
Report Remi's modifications
Diffstat (limited to 'fedcli.php')
-rwxr-xr-xfedcli.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/fedcli.php b/fedcli.php
index eb897c4..40b5b0c 100755
--- a/fedcli.php
+++ b/fedcli.php
@@ -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']);