Exemple #1
0
 /**
  * Working directory
  * @param $p
  */
 protected static function initWorkingDir($p)
 {
     parent::initWorkingDir($p);
     self::$requestTime = microtime(true);
     self::$time = date('Y-m-d H:i:s');
     self::$timestamp = time();
 }
Exemple #2
0
 /**
  * Working directory
  * @param $p
  */
 protected static function initWorkingDir($p)
 {
     if (empty(self::$workingDir)) {
         self::$workingDir = $p;
     }
 }