Files
BiveEngine/engine/Main/trait.playarea.php
2025-12-24 19:19:01 +03:00

17 lines
436 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?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;
}
}