16 lines
454 B
PHP
Executable File
16 lines
454 B
PHP
Executable File
<?php
|
||
class core
|
||
{
|
||
public static $settings = '';
|
||
public static $token = ''; // str
|
||
|
||
/* ----------------------------------------------------------------------
|
||
27.09.2024
|
||
Работаем с json
|
||
---------------------------------------------------------------------- */
|
||
static function j($a)
|
||
{
|
||
return (is_array($a)) ? json_encode($a, JSON_UNESCAPED_UNICODE) : json_decode($a, true);
|
||
}
|
||
|
||
} |