mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 01:37:02 +02:00
added the webui to the tarball
This commit is contained in:
25
webui/system/registry.php
Normal file
25
webui/system/registry.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
|
||||
class Registry {
|
||||
static private $data = array();
|
||||
|
||||
|
||||
static public function get($key) {
|
||||
return (isset(self::$data[$key]) ? self::$data[$key] : NULL);
|
||||
}
|
||||
|
||||
|
||||
static public function set($key, $value) {
|
||||
self::$data[$key] = $value;
|
||||
}
|
||||
|
||||
|
||||
static public function has($key) {
|
||||
return isset(self::$data[$key]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
Reference in New Issue
Block a user