mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
admin add confirm user + show original media info when not meet the standard
This commit is contained in:
@@ -12,7 +12,7 @@ class Install
|
||||
{
|
||||
protected $currentStep;
|
||||
|
||||
protected $minimumPhpVersion = '8.0.2';
|
||||
protected $minimumPhpVersion = '8.0.3';
|
||||
|
||||
protected $progressKeyPrefix = '__step';
|
||||
|
||||
@@ -71,7 +71,7 @@ class Install
|
||||
for ($i = 1; $i < $step; $i++) {
|
||||
$progressKey = $this->getProgressKey($i);
|
||||
if (!isset($_SESSION[$progressKey])) {
|
||||
$this->doLog("check step: $i, session doesn't have" );
|
||||
$this->doLog("check step: $i, session doesn't have: " . json_encode($_SESSION));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -151,7 +151,8 @@ class TechnicalInformation
|
||||
$subtitles = $this->getSubtitles();
|
||||
// dd($videos, $audios, $subtitles);
|
||||
if (empty($videos) && empty($audios) && empty($subtitles)) {
|
||||
return '';
|
||||
// return '';
|
||||
return sprintf('<div style="padding: 0 0.5rem"><pre>%s</pre></div>', $this->mediaInfo);
|
||||
}
|
||||
|
||||
$result = '<table style="border: none;width: 100%"><tbody><tr>';
|
||||
|
||||
Reference in New Issue
Block a user