feat: Префикс добавляется автоматически к скриптам и стилям

This commit is contained in:
origami11@yandex.ru 2023-11-28 17:35:48 +03:00
parent ad6efaf36d
commit cab1a44698
2 changed files with 12 additions and 7 deletions

View file

@ -51,7 +51,7 @@ class Tales {
return date("H:i", $e);
}
static function phptal_asset($s) {
static function phptal_asset($s) {
self::$site->addStyleSheet($s);
return "";
}
@ -59,7 +59,7 @@ class Tales {
/**
* Функция подключения компонента
*/
static function phptal_component ($expression) {
static function phptal_component($expression) {
$begin = floatval(microtime(true));
$component/*: Component*/ = null;