@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; |
4 | 4 | |
5 | +use App\Models\Settings; |
|
6 | +use nntmux\ColorCLI; |
|
5 | 7 | use nntmux\Tmux; |
6 | 8 | use nntmux\db\DB; |
7 | -use nntmux\ColorCLI; |
|
8 | -use App\Models\Settings; |
|
9 | 9 | use nntmux\utility\Utility; |
10 | 10 | |
11 | 11 | $pdo = new DB(); |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace nntmux; |
4 | 4 | |
5 | -use Intervention\Image\ImageManager; |
|
6 | 5 | use Illuminate\Support\Facades\Storage; |
7 | 6 | use Intervention\Image\Exception\ImageException; |
8 | 7 | use Intervention\Image\Exception\NotReadableException; |
9 | 8 | use Intervention\Image\Exception\NotWritableException; |
9 | +use Intervention\Image\ImageManager; |
|
10 | 10 | |
11 | 11 | /** |
12 | 12 | * Resize/save/delete images to disk. |
@@ -2,13 +2,13 @@ |
||
2 | 2 | |
3 | 3 | namespace nntmux\db; |
4 | 4 | |
5 | -use nntmux\ColorCLI; |
|
6 | -use Ramsey\Uuid\Uuid; |
|
7 | 5 | use App\Models\Settings; |
6 | +use Ramsey\Uuid\Uuid; |
|
7 | +use nntmux\ColorCLI; |
|
8 | 8 | use nntmux\ConsoleTools; |
9 | 9 | use nntmux\libraries\Cache; |
10 | -use nntmux\utility\Utility; |
|
11 | 10 | use nntmux\libraries\CacheException; |
11 | +use nntmux\utility\Utility; |
|
12 | 12 | |
13 | 13 | /** |
14 | 14 | * Class for handling connection to MySQL database using PDO. |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | require_once NN_LIB.'utility'.DS.'SmartyUtils.php'; |
4 | 4 | |
5 | -use nntmux\db\DB; |
|
6 | -use nntmux\SABnzbd; |
|
7 | -use App\Models\User; |
|
8 | -use App\Models\Settings; |
|
9 | 5 | use App\Models\RoleExcludedCategory; |
6 | +use App\Models\Settings; |
|
7 | +use App\Models\User; |
|
8 | +use nntmux\SABnzbd; |
|
9 | +use nntmux\db\DB; |
|
10 | 10 | |
11 | 11 | class BasePage |
12 | 12 | { |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use nntmux\Captcha; |
|
4 | -use App\Models\User; |
|
5 | -use App\Mail\PasswordReset; |
|
6 | 3 | use App\Mail\ForgottenPassword; |
4 | +use App\Mail\PasswordReset; |
|
5 | +use App\Models\User; |
|
7 | 6 | use Illuminate\Support\Facades\Mail; |
7 | +use nntmux\Captcha; |
|
8 | 8 | |
9 | 9 | if (User::isLoggedIn()) { |
10 | 10 | header('Location: '.WWW_TOP.'/'); |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | +use App\Models\Settings; |
|
4 | +use App\Models\User; |
|
3 | 5 | use nntmux\Captcha; |
4 | 6 | use nntmux\Logging; |
5 | -use App\Models\User; |
|
6 | -use App\Models\Settings; |
|
7 | 7 | use nntmux\utility\Utility; |
8 | 8 | |
9 | 9 | $page->smarty->assign(['error' => '', 'username' => '', 'rememberme' => '']); |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use nntmux\NZBGet; |
|
4 | 3 | use App\Models\User; |
4 | +use nntmux\NZBGet; |
|
5 | 5 | |
6 | 6 | if (! User::isLoggedIn()) { |
7 | 7 | $page->show403(); |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace nntmux; |
4 | 4 | |
5 | -use nntmux\db\DB; |
|
6 | -use App\Models\User; |
|
7 | 5 | use App\Models\Content; |
6 | +use App\Models\User; |
|
7 | +use nntmux\db\DB; |
|
8 | 8 | |
9 | 9 | class Contents |
10 | 10 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace nntmux; |
4 | 4 | |
5 | -use Page; |
|
6 | 5 | use App\Models\User; |
6 | +use Page; |
|
7 | 7 | |
8 | 8 | final class NZBVortex |
9 | 9 | { |