| 123456789101112131415161718192021222324252627282930 |
- <?php
- require_once(__DIR__ . "/helper/net.php");
- $root = get_protocol() . $_SERVER["HTTP_HOST"] . "/";
- $base_dir = $_SERVER["DOCUMENT_ROOT"] . "/";
- $path = [
- "img" => [
- "content" => $root . "img/content/",
- "layout" => $root . "img/layout/",
- "monster" => $root . "img/content/monster/",
- "skill" => $root . "img/content/skill/",
- ],
- "fonts" => $root . "fonts/",
- "css" => $root . "css/",
- "js" => $root . "script/",
- "application" => "$base_dir../application/",
- "controller" => "$base_dir../application/Controller.php",
- "entity" => "$base_dir../application/entity/",
- "page" => "$base_dir../application/page/",
- "frame" => "$base_dir../application/page/frame/",
- "handler" => "$base_dir../application/handler/",
- "view" => "$base_dir../application/view/",
- "helper" => "$base_dir../application/helper/",
- "db" => "$base_dir../application/sw.sqlite",
- ];
- ?>
|