Post Reply  Post Thread 
Problem admin_functions
Author Message
santerref
Newbie
*


Posts: 7
Group: Registered
Joined: Apr 2008
Status: Offline
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
Moderator
*****


Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
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


2008-03-16 ispCP RC4 released!!!

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  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |