2015-12-18, 04:05 PM
I don't know what prometheus class is or how to fix this?
Fatal error: Class 'prometheus' not found in /home/wcserver/public_html/admin.php on line 11
<?php
SESSION_START();
ob_start();
$page = 'admin';
$page_title = 'Admin';
require_once('inc/functions.php');
if(!prometheus::isAdmin()){
die('You are not an admin, get out of here'); Line 11 is red.
}
if(prometheus::loggedin() && prometheus::isAdmin()){
update::run();
$message = new FlashMessages();
if(isset($_POST['search'])){
header('location: admin.php?page=users&q=' . $_POST['search']);
Fatal error: Class 'prometheus' not found in /home/wcserver/public_html/admin.php on line 11
<?php
SESSION_START();
ob_start();
$page = 'admin';
$page_title = 'Admin';
require_once('inc/functions.php');
if(!prometheus::isAdmin()){
die('You are not an admin, get out of here'); Line 11 is red.
}
if(prometheus::loggedin() && prometheus::isAdmin()){
update::run();
$message = new FlashMessages();
if(isset($_POST['search'])){
header('location: admin.php?page=users&q=' . $_POST['search']);