Skip to content

Commit 0eae9c5

Browse files
committed
Fix incorrect path resolution for Packagist installs
1 parent 4e3d19e commit 0eae9c5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "onamfc/laravel-devlogger",
3-
"version": "1.1.7",
3+
"version": "1.1.8",
44
"description": "A custom logging package for Laravel with database storage and automatic error catching",
55
"type": "library",
66
"keywords": ["laravel", "logging", "database", "error-handling"],

src/Providers/DevLoggerServiceProvider.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function register(): void
1515
{
1616
// Merge package configuration
1717
$this->mergeConfigFrom(
18-
__DIR__ . '/../../../config/devlogger.php',
18+
__DIR__ . '/../../config/devlogger.php',
1919
'devlogger'
2020
);
2121

@@ -32,13 +32,13 @@ public function boot(): void
3232
{
3333
// Publish configuration
3434
$this->publishes([
35-
__DIR__ . '/../../../config/devlogger.php' => config_path('devlogger.php'),
35+
__DIR__ . '/../../config/devlogger.php' => config_path('devlogger.php'),
3636
], 'devlogger-config');
3737

3838
// Publish migrations
3939
if ($this->app->runningInConsole()) {
4040
$this->publishes([
41-
__DIR__ . '/../../../migrations/' => database_path('migrations'),
41+
__DIR__ . '/../../migrations/' => database_path('migrations'),
4242
], 'devlogger-migrations');
4343

4444
// Register commands
@@ -48,7 +48,7 @@ public function boot(): void
4848
}
4949

5050
// Load migrations
51-
$this->loadMigrationsFrom(__DIR__ . '/../../../migrations');
51+
$this->loadMigrationsFrom(__DIR__ . '/../../migrations');
5252

5353
// Schedule cleanup if retention is configured
5454
if (config('devlogger.retention_days')) {

0 commit comments

Comments
 (0)