Skip to content

Commit 489e53c

Browse files
authored
Update Client.php
if not exists storage_path
1 parent 77b2fc0 commit 489e53c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function __construct($config)
1717
{
1818
$this->config = $config;
1919
$this->company_id = $this->config['company_id'];
20-
$this->file = function_exists('storage_path') ? storage_path('token.ini') : realpath(DIR . '/token.ini');
20+
$this->file = function_exists('storage_path') ? storage_path('token.ini') : realpath(__DIR__ . '/token.ini');
2121
$this->checkTokens();
2222
}
2323

0 commit comments

Comments
 (0)