integrate laravel framework

This commit is contained in:
xiaomlove
2021-04-02 19:48:41 +08:00
parent fe8c7683b8
commit e48461546f
96 changed files with 10107 additions and 207 deletions
+2 -2
View File
@@ -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;
}
}
}
+1 -2
View File
@@ -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;
}
}
+2 -2
View File
@@ -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;
}
}
}
+1 -2
View File
@@ -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;
}
}
}