private function detectMode()
 {
     if (isset($_SERVER['argv']) && 1 <= count($_SERVER['argv']) && !(isset($_SERVER['QUERY_STRING']) && $_SERVER['argv'][0] == $_SERVER['QUERY_STRING'])) {
         $this->current_mode = "cli";
         cacheFrontend::$cacheMode = true;
         return;
     }
     $v32660e7b27600e0fde6ff1333c6c0568 = $this->getPathArray();
     if (sizeof($v32660e7b27600e0fde6ff1333c6c0568) < 2) {
         $v32660e7b27600e0fde6ff1333c6c0568[1] = NULL;
     }
     list($v9ea3ab74bc8133d47b81a107f1a1c585, $v394072637b008e3829968bb5109f17ac) = $v32660e7b27600e0fde6ff1333c6c0568;
     if ($v9ea3ab74bc8133d47b81a107f1a1c585 == "admin" || $v394072637b008e3829968bb5109f17ac == "admin") {
         $this->current_mode = "admin";
         cacheFrontend::$adminMode = true;
     } else {
         $this->current_mode = "";
         cacheFrontend::$cacheMode = true;
         cacheFrontend::$adminMode = false;
     }
 }