diff --git a/app/Console/Commands/ImportPonify.php b/app/Console/Commands/ImportPonify.php index 93e978ca..855c4d99 100644 --- a/app/Console/Commands/ImportPonify.php +++ b/app/Console/Commands/ImportPonify.php @@ -82,7 +82,7 @@ class ImportPonify extends Command pcntl_signal(SIGINT, [$this, 'handleInterrupt']); - $ponifyPath = Config::get('ponyfm.files_directory').'/ponify'; + $ponifyPath = Config::get('ponyfm.ponify_directory'); $tmpPath = Config::get('ponyfm.files_directory').'/tmp'; if (!File::exists($tmpPath)) { diff --git a/config/ponyfm.php b/config/ponyfm.php index da95567f..b27cd037 100644 --- a/config/ponyfm.php +++ b/config/ponyfm.php @@ -13,6 +13,7 @@ return [ */ 'files_directory' => env('PONYFM_DATASTORE'), + 'ponify_directory' => env('PONIFY_DIRECTORY'), /* |--------------------------------------------------------------------------