Skip to content

Commit

Permalink
Bugfix installer with PHP 5.4 and 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
DerMika committed Feb 3, 2016
1 parent 1c1415b commit 0f6f24d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Amadeus/Client/Install/ScriptHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ScriptHandler
*
* @var string
*/
protected static $nonceFilePath = "conf".DIRECTORY_SEPARATOR."noncebase.txt";
protected static $nonceFilePath;

/**
* Package root
Expand All @@ -67,6 +67,7 @@ class ScriptHandler
public static function checkAndGenerateNonceBase(Event $event)
{
self::$root = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
self::$nonceFilePath = "conf" . DIRECTORY_SEPARATOR . "noncebase.txt";

if (self::haveNonceBase($event) === false) {
self::generateAndSaveNonceBase($event);
Expand Down

0 comments on commit 0f6f24d

Please sign in to comment.