diff --git a/src/Quran.php b/src/Quran.php index ce05e0c..adfb0f9 100644 --- a/src/Quran.php +++ b/src/Quran.php @@ -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(); diff --git a/src/config/quran.php b/src/config/quran.php index 28d25af..81c211b 100644 --- a/src/config/quran.php +++ b/src/config/quran.php @@ -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. | */