Skip to content

Commit

Permalink
Fix storage path inside laravel
Browse files Browse the repository at this point in the history
  • Loading branch information
faizshukri committed Jan 29, 2016
1 parent e8bda07 commit e73e1eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Quran.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function __construct(array $config = array())

// If function storage_path is exist (laravel), we update the path to laravel's storage path
if (function_exists('storage_path')) {
$this->config['storage_path'] = storage_path( $this->config['storage_path'] );
$this->config['storage_path'] = storage_path( 'app' . DIRECTORY_SEPARATOR . $this->config['storage_path'] );
}

$this->initialize();
Expand Down
2 changes: 1 addition & 1 deletion src/config/quran.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
|--------------------------------------------------------------------------
|
| Set storage path where all translation will be stored.
| Absolute path will be created inside /storage/app directory.
| This path will be created inside /storage/app directory.
|
*/

Expand Down

0 comments on commit e73e1eb

Please sign in to comment.