Example #1
0
 public static function instance()
 {
     if (!self::$_instance) {
         $class = __CLASS__;
         self::$_instance = new $class();
     }
     return self::$_instance;
 }
Example #2
0
<?php

define('DS', DIRECTORY_SEPARATOR);
define('US', '/');
require_once '../lib/Install/Autoload.php';
Lib_Install_Autoload::register();
Framework_Controller::run();