Strict Standards: Non-static method hatası lütfen
06.12.2016 - 01:22
Strict Standards: Non-static method MAD_Admin_Redirect::redirect() should not be called statically in ad/index.php on line 13 hatası yardım edin lütfen
yardımcı olursanız cok sevinirim
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."");
}
}
?>
75
Görüntülenme
0 Beğeni