Initial commit

This commit is contained in:
Ivan Petrov
2025-12-24 19:19:01 +03:00
commit a7097c6178
19493 changed files with 94306 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?php
// Работа с песочницей
defined('ROOT_DIR') || exit;
trait PlayArea {
public function pa_connect_main(){
require_once $this->get_playarea_dir() . SLASH . "main.php";
}
// Получить папку с ассетами
public function pa_get_assets_dir(){
$root = $this->router_get_root_uri();
return $root . SLASH . PLAYAREA_DIR_NAME . SLASH . 'assets' . SLASH;
}
}