画像ライブラリーはクラス化、TGA対応の追加
This commit is contained in:
2
util.php
2
util.php
@@ -127,6 +127,7 @@ function uuid(): string {
|
||||
}
|
||||
|
||||
function kys(mixed $arg): void {
|
||||
if (!DEBUG_MODE) return;
|
||||
if (gettype($arg) == 'boolean') $arg = $arg === true ? 'true' : 'false';
|
||||
if (gettype($arg) == 'array' || gettype($arg) == 'object') {
|
||||
foreach ($arg as $a) { if (gettype($a) == 'boolean') $a = $a === true ? 'true' : 'false'; }
|
||||
@@ -140,6 +141,7 @@ function kys(mixed $arg): void {
|
||||
}
|
||||
|
||||
function ffs(): void {
|
||||
if (!DEBUG_MODE) return;
|
||||
echo '<style>html { color: #fcfcfc; background-color: #232023; } body { margin: 0; }</style>';
|
||||
echo '<header style="padding: 10px 0; display: flex; justify-content: space-evenly; background-color: #b61729; margin-bottom: 20px; position: sticky; top: 0;"><div><b>F</b>OR</div> <div><b>F</b>UCKS</div> <div><b>S</b>AKE</div></header>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user