Example #1
0
 public static function getSession()
 {
     if (CommonUtils::isEmpty(self::$session)) {
         self::$session = new UserDefineSession();
     }
     return self::$session;
 }
Example #2
0
 public function __construct($basePath)
 {
     if (!CommonUtils::isEmpty($basePath)) {
         if (strstr($basePath, ";")) {
             $this->basePath = explode(";", $basePath);
         } else {
             $this->basePath = $basePath;
         }
     }
 }