mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-28 06:57:22 +08:00
integrate laravel framework
This commit is contained in:
@@ -61,7 +61,7 @@ class DB
|
||||
if ($this->isConnected()) {
|
||||
return null;
|
||||
}
|
||||
$config = config('database.mysql');
|
||||
$config = nexus_config('nexus.mysql');
|
||||
return $this->connect($config['host'], $config['username'], $config['password'], $config['database'], $config['port']);
|
||||
}
|
||||
|
||||
@@ -207,4 +207,4 @@ class DB
|
||||
return $result;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -408,7 +408,6 @@ JS;
|
||||
$displayName = get_searchbox_value($browsecatmode, 'custom_fields_display_name');
|
||||
$display = get_searchbox_value($browsecatmode, 'custom_fields_display');
|
||||
$customFields = $this->listTorrentCustomField($torrentId);
|
||||
// dd($displayName, $display, $customFields);
|
||||
$mixedRowContent = nl2br($display);
|
||||
$rowByRowHtml = '';
|
||||
foreach ($customFields as $field) {
|
||||
@@ -486,4 +485,4 @@ JS;
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ class Install
|
||||
{
|
||||
protected $currentStep;
|
||||
|
||||
protected $minimumPhpVersion = '7.2.0';
|
||||
protected $minimumPhpVersion = '7.3.0';
|
||||
|
||||
protected $progressKeyPrefix = '__step';
|
||||
|
||||
@@ -522,4 +522,4 @@ class Install
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -149,7 +149,6 @@ class TechnicalInformation
|
||||
$videos = array_filter($videos);
|
||||
$audios = $this->getAudios();
|
||||
$subtitles = $this->getSubtitles();
|
||||
// dd($this->mediaInfoArr, $videos, $audios, $subtitles);
|
||||
//video part
|
||||
$videoTable = '<table style="border: none"><tbody>';
|
||||
foreach (array_chunk($videos, 2, true) as $row) {
|
||||
@@ -193,4 +192,4 @@ class TechnicalInformation
|
||||
$result .= '</tr></tbody></table>';
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user