projects
/
infodrom.org
/
infocon.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2c5dd7
)
Include config and autoloader when working in future mode
author
Joey Schulze
<joey@infodrom.org>
Mon, 14 Dec 2015 21:12:44 +0000
(21:12 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Mon, 14 Dec 2015 21:12:44 +0000
(21:12 +0000)
Styles/infocon.style
patch
|
blob
|
history
diff --git
a/Styles/infocon.style
b/Styles/infocon.style
index
7ec9027
..
69cd5b8
100644
(file)
--- a/
Styles/infocon.style
+++ b/
Styles/infocon.style
@@
-216,3
+216,18
@@
printf "Letzte
<restore base text href current>
</define-tag>
+
+<define-tag future>
+<?php
+$dir = getcwd();
+while (strlen($dir) > 1) {
+ if (file_exists($dir.'/config.php')) {
+ require_once($dir.'/config.php');
+ break;
+ }
+ $dir = dirname($dir);
+}
+
+require_once('<root_prefix>/future.php');
+?>
+</define-tag>