Add my template project

This commit is contained in:
2024-08-09 21:30:13 +05:00
parent 0e0ac4f094
commit 832bf929dc
19 changed files with 243 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<?php
class Root {
private static $installed = false;
public static function init() {
self::$installed = floatval(file_get_contents(__RD__.'installed'));
}
public static function url($url, $force = true) {
header('Location: '.$url);
if($force) exit();
}
public static function installed() {
return self::$installed;
}
}
Root::init();