Ejemplo n.º 1
0
 public static function init()
 {
     if (strnatcasecmp(phpversion(), '5.5.0') < 0) {
         XiiError::sendError(0, 'This Class need PHP 5.5 +');
         Yii::$app->end();
     }
     self::getConfig();
     XiiHeader::run(self::$_whoAmI);
 }
Ejemplo n.º 2
0
 public static function init()
 {
     XiiVersion::run(self::XII_VERSION);
     if (strnatcasecmp(phpversion(), '5.5.0') < 0) {
         XiiError::sendError(0, 'This Class need PHP 5.5 +');
         Yii::$app->end();
     }
     if (self::$_init) {
         self::getConfig();
     }
 }