git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xml mime type
[phorkie.git]
/
www
/
www-header.php
diff --git
a/www/www-header.php
b/www/www-header.php
index 8b99234a0b091216d5129158a93c8030fcffebb4..5b2fa565be7013ef339583b0f7dd2568980f3154 100644
(file)
--- a/
www/www-header.php
+++ b/
www/www-header.php
@@
-27,6
+27,9
@@
set_exception_handler(
);
require_once __DIR__ . '/../data/config.default.php';
);
require_once __DIR__ . '/../data/config.default.php';
+if (file_exists(__DIR__ . '/../data/config.php')) {
+ require_once __DIR__ . '/../data/config.php';
+}
require_once 'VersionControl/Git.php';
require_once 'Twig/Autoloader.php';
\Twig_Autoloader::register();
require_once 'VersionControl/Git.php';
require_once 'Twig/Autoloader.php';
\Twig_Autoloader::register();
@@
-47,7
+50,7
@@
function render($tplname, $vars)
}
function redirect($target)
{
}
function redirect($target)
{
- header('Location:
/
' . $target);
+ header('Location: ' . $target);
exit();
}
?>
\ No newline at end of file
exit();
}
?>
\ No newline at end of file