We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35c1db2 commit 77b2fc0Copy full SHA for 77b2fc0
src/Client.php
@@ -17,9 +17,7 @@ public function __construct($config)
17
{
18
$this->config = $config;
19
$this->company_id = $this->config['company_id'];
20
- if (function_exists('storage_path')) {
21
- $this->file = storage_path('token.ini');
22
- }
+ $this->file = function_exists('storage_path') ? storage_path('token.ini') : realpath(DIR . '/token.ini');
23
$this->checkTokens();
24
}
25
0 commit comments