Files
ITL-Huge/application/core/Text.php
Elias F. 1a30c45d62 Fixed admin panel user registration.
Now including start.sh to start a php server using the router.php so no webserver is needed.
2025-12-03 08:10:38 +01:00

20 lines
344 B
PHP

<?php
class Text
{
public static $texts;
public static function get($key)
{
if (!self::$texts) {
self::$texts = require(__DIR__ . '/../config/texts.php');
}
if (!array_key_exists($key, self::$texts)) {
return "TEXT NOT FOUND";
}
return self::$texts[$key];
}
}