Skip to content

Commit 68ffeab

Browse files
committed
Use dirname instead of realpath
1 parent c6de745 commit 68ffeab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CachetCoreServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CachetCoreServiceProvider extends ServiceProvider
2222
public function register(): void
2323
{
2424
if (! defined('CACHET_PATH')) {
25-
define('CACHET_PATH', realpath(__DIR__.'/../'));
25+
define('CACHET_PATH', dirname(__DIR__).'/');
2626
}
2727

2828
$this->app->singleton(Cachet::class);

0 commit comments

Comments
 (0)