projects
/
GITManagedWebpage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1ece2cf
)
fixed branch view with GLOBALS
author
pk910
<philipp@zoelle1.de>
Sun, 6 Oct 2013 10:31:38 +0000
(12:31 +0200)
committer
pk910
<philipp@zoelle1.de>
Sun, 6 Oct 2013 10:31:38 +0000
(12:31 +0200)
GITManagedWebpage.class.php
patch
|
blob
|
history
diff --git
a/GITManagedWebpage.class.php
b/GITManagedWebpage.class.php
index 6b6d903b57f095fdda048aa9b4fc9e6e52ce3e7b..0522cc8ea39ac14b08691be4753000d503ef912a 100644
(file)
--- a/
GITManagedWebpage.class.php
+++ b/
GITManagedWebpage.class.php
@@
-313,7
+313,7
@@
class GITManagedWebpage {
}
}
}
}
- public function
execut
e($file = null) {
+ public function
getExecFil
e($file = null) {
if($this->loopedcall)
return;
define("GITMANAGED_EXECUTED", true);
if($this->loopedcall)
return;
define("GITMANAGED_EXECUTED", true);
@@
-331,11
+331,10
@@
class GITManagedWebpage {
$this->updateBranch($active_branch, $dir, true);
}
chdir($dir);
$this->updateBranch($active_branch, $dir, true);
}
chdir($dir);
-
include_once($dir.$file)
;
+
return $dir.$file
;
} else {
} else {
- include($file); //possible loop!
+ return $file;
}
}
- die();
}
}
}
}