Skip to content
Snippets Groups Projects
Commit ee952890 authored by Axel Hahn's avatar Axel Hahn
Browse files

- git tempdir is /var/tmp (if TEMP does not exist) instead of /tmp

- fixed Navbar on Chrome
parent 0ed9140d
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@ class vcs implements iVcs {
private function _setTempdir() {
$this->_sTempDir = $this->_aCfg["url"];
$this->_sTempDir = preg_replace('/[\@\.\:\/]/', '_', $this->_sTempDir);
$this->_sTempDir = (getenv("temp") ? getenv("temp") : "/tmp") . '/checkout_vcsgit_' . $this->_sTempDir . '/';
$this->_sTempDir = (getenv("temp") ? getenv("temp") : "/var/tmp") . '/checkout_vcsgit_' . $this->_sTempDir . '/';
$this->_sTempDir .= preg_replace('/[\@\.\:\/]/', '_', $this->_sCurrentBranch) . '/';
if (!file_exists($this->_sTempDir . ".git") || true) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment