summaryrefslogtreecommitdiffstats
path: root/fedcli.php
diff options
context:
space:
mode:
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']);