this is PHP :(
This commit is contained in:
parent
6aa704d04c
commit
7d478a809c
@ -49,7 +49,8 @@ class Home extends Extension {
|
|||||||
global $config;
|
global $config;
|
||||||
$base_href = get_base_href();
|
$base_href = get_base_href();
|
||||||
$sitename = $config->get_string('title');
|
$sitename = $config->get_string('title');
|
||||||
$contact_link = contact_link() || "";
|
$contact_link = contact_link();
|
||||||
|
if(is_null($contact_link)) $contact_link = "";
|
||||||
$counter_dir = $config->get_string('home_counter', 'default');
|
$counter_dir = $config->get_string('home_counter', 'default');
|
||||||
|
|
||||||
$total = Image::count_images();
|
$total = Image::count_images();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user