diff --git a/bin/zs-client.php b/bin/zs-client.php index 2be5964..90cbafa 100755 --- a/bin/zs-client.php +++ b/bin/zs-client.php @@ -16,7 +16,7 @@ ini_set('date.timezone', 'UTC'); } -set_include_path(get_include_path(). PATH_SEPARATOR . getcwd()); +set_include_path(getcwd() . PATH_SEPARATOR . get_include_path()); $basePath = dirname(__DIR__); if (!defined('PHAR')) { @@ -24,7 +24,7 @@ chdir($basePath); } -require_once "vendor/autoload.php"; +require_once __DIR__ . '/vendor/autoload.php'; if (file_exists("config/application.config.php")) { $appConfig = require "config/application.config.php"; diff --git a/composer.json b/composer.json index 4446d43..31e22cc 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name" : "zenddevops/client", - "version" : "1.2.4", + "version" : "1.2.5", "description" : "ZF2 CLI tool to access Zend Server Web API", "type" : "project", "authors" : [{