I have used madserve and I have installed it but I get this error:
Strict Standards: Non-static method MAD_Admin_Redirect::redirect() should not be called statically in /home3/******/public_html/ad/index.php on line 13
What I can do?
index.php
<?php
define('ROOT_INDEX', true);
// Require the initialisation file
require_once 'init.php';
// Required files
require_once MAD_PATH . '/functions/adminredirect.php';
// Redirect to the admin interface
if (MAD_INSTALLATION_STATUS == MAD_INSTALLATION_STATUS_INSTALLED)
{
MAD_Admin_Redirect::redirect();
}
?>
/functions/adminredirect.php
<?php
class MAD_Admin_Redirect
{
function redirect($adminPage = 'www/cp/index.php')
{
header ("Location: ".$adminPage."");
}
}
?>