fix api command [site::createBookThumbnails] and [site::createProgramThumbnails]
This commit is contained in:
parent
ebbef44054
commit
d160a4a636
@ -53,7 +53,7 @@ function httpError($errorcode, $message)
|
||||
|
||||
function httpDie($errorcode, $message)
|
||||
{
|
||||
ob_clean();
|
||||
ob_flush();
|
||||
http_response_code($errorcode);
|
||||
die($message);
|
||||
|
||||
|
@ -10,8 +10,8 @@ $API_COMMANDS =
|
||||
|
||||
'progs::updatecheck' => [ 'src' => __DIR__.'/../commands/progs_updatecheck.php', 'auth' => 'none' ],
|
||||
|
||||
'site::createProgramThumbnails' => [ 'src' => __DIR__.'/../commands/site_createProgramThumbnails.php', 'auth' => 'admin' ],
|
||||
'site::createBookThumbnails' => [ 'src' => __DIR__.'/../commands/site_createBookThumbnails.php', 'auth' => 'admin' ],
|
||||
'site::createprogramthumbnails' => [ 'src' => __DIR__.'/../commands/site_createProgramThumbnails.php', 'auth' => 'admin' ],
|
||||
'site::createbookthumbnails' => [ 'src' => __DIR__.'/../commands/site_createBookThumbnails.php', 'auth' => 'admin' ],
|
||||
|
||||
'server::setselfaddress' => [ 'src' => __DIR__.'/../commands/server_setselfaddress.php', 'auth' => 'none' ],
|
||||
'server::gitwebhook' => [ 'src' => __DIR__.'/../commands/server_gitwebhook.php', 'auth' => 'webhook_secret' ],
|
||||
|
@ -54,7 +54,7 @@ if (($redirect === '/' || $redirect === '') && isset($_GET['redirect'])) $redire
|
||||
|
||||
<div>
|
||||
<label for="username" class="required">Username</label>
|
||||
<input name="username" id="username" type="text">
|
||||
<input name="username" id="username" type="text" autofocus >
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
Loading…
Reference in New Issue
Block a user