Remove option to set covers path in database, it is hardcoded now to resources/covers/

This commit is contained in:
DariusIII
2020-03-22 22:12:07 +01:00
parent 948658bf1d
commit 1e7244e5bc
40 changed files with 55 additions and 151 deletions
-1
View File
@@ -2,7 +2,6 @@
require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'autoload.php';
require __DIR__.DIRECTORY_SEPARATOR.'app.php';
require_once 'constants.php';
require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'app/Extensions/util/PhpYenc.php';
use Dotenv\Dotenv;
-44
View File
@@ -1,44 +0,0 @@
<?php
// YOU SHOULD NOT EDIT ANYTHING IN THIS FILE!
define('NN_MINIMUM_PHP_VERSION', '7.2.0');
define('NN_MINIMUM_MYSQL_VERSION', '5.7');
define('NN_MINIMUM_MARIA_VERSION', '10.2');
define('DS', DIRECTORY_SEPARATOR);
// These are file path constants
define('NN_ROOT', base_path().'/');
// Used to refer to the main lib class files.
define('NN_LIB', NN_ROOT.'Blacklight/');
// Used to refer to the /misc class files.
define('NN_MISC', NN_ROOT.'misc/');
// /misc/update/
define('NN_UPDATE', NN_MISC.'update/');
// /misc/update/tmux/
define('NN_TMUX', NN_UPDATE.'tmux/');
// /misc/update/multiprocessing/
define('NN_MULTIPROCESSING', NN_UPDATE.'multiprocessing/');
// Refers to the web root for the Smarty lib
define('NN_WWW', public_path().'/');
// Used to refer to the resources folder
define('NN_RES', resource_path().'/');
// Used to refer to the covers folder
define('NN_COVERS', NN_RES.'covers/');
// Used to refer to the tmp folder
define('NN_TMP', NN_RES.'tmp/');
// Path where log files are stored.
define('NN_LOGS', storage_path().'/logs/');
define('NN_VERSIONS', NN_ROOT.'build/nntmux.xml');