diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2012-05-07 21:17:26 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2012-05-07 21:17:26 +0200 |
| commit | fa61fdfea420bb770d4390f49fa5e2f379891d21 (patch) | |
| tree | a0e945b29bc6e2806a856a53fc837c54b0278c13 /www | |
| parent | 5199f316fad43afc0657ece494ce8c5e18a4d78c (diff) | |
| download | phorkie-fa61fdfea420bb770d4390f49fa5e2f379891d21.tar.gz phorkie-fa61fdfea420bb770d4390f49fa5e2f379891d21.zip | |
do not show search box when no search adapter configured
Diffstat (limited to 'www')
| -rw-r--r-- | www/www-header.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/www/www-header.php b/www/www-header.php index c0b18d3..72a2e67 100644 --- a/www/www-header.php +++ b/www/www-header.php @@ -63,6 +63,7 @@ function render($tplname, $vars) $vars['css'] = $GLOBALS['phorkie']['cfg']['css']; $vars['title'] = $GLOBALS['phorkie']['cfg']['title']; $vars['topbar'] = $GLOBALS['phorkie']['cfg']['topbar']; + $vars['db'] = new Database(); $template = $GLOBALS['twig']->loadTemplate($tplname . '.htm'); echo $template->render($vars); |
