- put version to a more accessible place

- use it for logs and help
- bump the version
This commit is contained in:
Gilles Crettenand
2015-06-12 15:35:32 +02:00
parent 611df90d30
commit 270f1892e0
4 changed files with 10 additions and 4 deletions

View File

@@ -12,9 +12,16 @@ use BSR\Lib\Search\BookSearch;
use BSR\Lib\WebService;
class NetBiblio extends WebService
{
/** @var string $version version number */
public static $version = '1.0.1';
private $login = '';
private $client = 'website';
public function __construct() {
parent::__construct(self::$version);
}
/**
* Set the current login and client based on information
* from the session.