예제 #1
0
파일: Config.php 프로젝트: navtis/xerxes
 public static function getInstance()
 {
     if (empty(self::$instance)) {
         self::$instance = new Config();
         $object = self::$instance;
         $object->init();
     }
     return self::$instance;
 }
예제 #2
0
 public static function getInstance()
 {
     if (empty(self::$instance)) {
         self::$instance = new Config();
         $object = self::$instance;
         $object->init();
         // all ebsco links should be proxied
         $object->setConfig('SHOULD_PROXY', true);
     }
     return self::$instance;
 }