diff --git a/application/registry.class.php b/application/registry.class.php index e69de29..09c7cf2 100644 --- a/application/registry.class.php +++ b/application/registry.class.php @@ -0,0 +1,44 @@ +vars[$index] = $value; + } + + /** + * + * @get variables + * + * @param mixed $index + * + * @return mixed + * + */ + public function __get($index) + { + return $this->vars[$index]; + } + +} + +?> diff --git a/application/router.class.php b/application/router.class.php index e69de29..e7eff28 100644 --- a/application/router.class.php +++ b/application/router.class.php @@ -0,0 +1,24 @@ +registry = $registry; + }