diff --git a/app/Console/Commands/InstallNntmux.php b/app/Console/Commands/InstallNntmux.php index b499958b3..440b91b74 100644 --- a/app/Console/Commands/InstallNntmux.php +++ b/app/Console/Commands/InstallNntmux.php @@ -171,13 +171,14 @@ class InstallNntmux extends Command /** * @return array|bool + * @throws \Exception * @throws \RuntimeException */ protected function updatePaths() { - $covers_path = base_path().'resources/covers/'; - $nzb_path = base_path().'resources/nzb/'; - $tmp_path = base_path().'resources/tmp/'; + $covers_path = base_path().'/resources/covers/'; + $nzb_path = base_path().'/resources/nzb/'; + $tmp_path = base_path().'/resources/tmp/'; $unrar_path = $tmp_path.'unrar/'; $nzbPathCheck = is_writable($nzb_path); diff --git a/database/migrations/2018_01_16_195548_create_users_table.php b/database/migrations/2018_01_16_195548_create_users_table.php index 82e8c70eb..fb90418ec 100644 --- a/database/migrations/2018_01_16_195548_create_users_table.php +++ b/database/migrations/2018_01_16_195548_create_users_table.php @@ -55,6 +55,7 @@ class CreateUsersTable extends Migration { $table->string('cp_api')->nullable(); $table->string('style')->nullable(); $table->dateTime('rolechangedate')->nullable()->comment('When does the role expire'); + $table->rememberToken(); }); }