$result = $bot->getChatMember($chat_moderate_id, $user_id);
/**
* Clean int.
*
* @param string $int
* @return int
* @throws \Exception
*/
function cleanInt($int) {
$int = trim($int);
if ($int != (int) $int) {
throw new Exception('Not int ');
}
return $int;
}
/opt/php/7.4/bin/php artisan ...
my-site.ru
public_html
public_html
обычно разворачивают сайт на какой-то CMS. Это веб-корень для урлов (/
).public
.public_html
нужно удалить.public_html -> public
.public_html
является ссылкой на ларавелевскую public
.php artisan storage:link
и указываем урлы через хелпер url('storage/image.png')
для файла, который лежит в файловой системе как storage/app/public/image.png
.Storage::disk('public')->url('image.png');
.block1 { text-align: center; }
.block1 .block2 { text-align: left; }
.block1.boost .block2 { color: red; }