Пример #1
0
 /**
  * Get the config for the db.
  *
  * @return stdClass
  * @author Justin Palmer
  **/
 public static function getConfig()
 {
     $Config = self::$Config;
     if (self::$Config === null) {
         self::$Config = $Config = Registry::get('pr-db-config');
     }
     return $Config;
 }