From 2370a3f89b5f10e6c98edf019fe25d98eb58d401 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Sat, 14 Aug 2010 19:39:28 -0700 Subject: [PATCH] code cleanup for server release --- boot.php | 6 ------ index.php | 1 - mod/home.php | 1 - 3 files changed, 8 deletions(-) diff --git a/boot.php b/boot.php index 31062d1..77eeb79 100644 --- a/boot.php +++ b/boot.php @@ -409,12 +409,6 @@ function remote_user() { return false; }} -function footer(&$a) { - - $s = fetch_url("http://fortunemod.com/cookie.php?equal=1"); - $a->page['content'] .= "
$s
"; -} - if(! function_exists('notice')) { function notice($s) { diff --git a/index.php b/index.php index ba08a91..96e8583 100644 --- a/index.php +++ b/index.php @@ -80,7 +80,6 @@ if($a->module_loaded) { $a->page['content'] .= $func($a); } - footer($a); } // report anything important happening diff --git a/mod/home.php b/mod/home.php index 4905789..d89b47b 100644 --- a/mod/home.php +++ b/mod/home.php @@ -16,7 +16,6 @@ function home_init(&$a) { if(! function_exists('home_content')) { function home_content(&$a) { - $a->page['header'] .= ''; $a->page['footer'] .= "
Powered by mistpark
"; $o .= '

Welcome' . ((x($a->config,'sitename')) ? " to {$a->config['sitename']}" : "" ) . '

'; $o .= login(($a->config['register_policy'] == REGISTER_CLOSED) ? 0 : 1);