Current time: 11-24-2024, 02:41 AM Hello There, Guest! (LoginRegister)


Post Reply 
Problem admin_functions
Author Message
santerref Offline
Junior Member
*

Posts: 62
Joined: Apr 2008
Reputation: 0
Post: #1
Problem admin_functions
Hello,

I have this error :
Notice: Undefined variable: cfg in /var/www/ispcp/gui/include/admin-functions.php on line 2240

This is the line :
if (isset($_SESSION['user_theme'])) {
$theme = $_SESSION['user_theme'];
} else {
$theme = $cfg['USER_INITIAL_THEME'];
}


What is the problem ?
05-01-2008 10:17 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Problem admin_functions
Seems that a "global $cfg;" is missing at the beginning of the function...

Could you try that and open a ticket with solution?

Thanx
(This post was last modified: 05-01-2008 09:28 PM by joximu.)
05-01-2008 09:28 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)