mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
add cover to torrent
This commit is contained in:
@@ -250,12 +250,16 @@ function getLogFile()
|
||||
|
||||
function nexus_config($key, $default = null)
|
||||
{
|
||||
if (!IN_NEXUS) {
|
||||
return config($key, $default);
|
||||
}
|
||||
static $configs;
|
||||
if (is_null($configs)) {
|
||||
//get all configuration from config file
|
||||
// $files = glob(ROOT_PATH . 'config/*.php');
|
||||
$files = [
|
||||
ROOT_PATH . 'config/nexus.php',
|
||||
ROOT_PATH . 'config/emoji.php',
|
||||
];
|
||||
foreach ($files as $file) {
|
||||
$basename = basename($file);
|
||||
|
||||
Reference in New Issue
Block a user