edit_base.inc/edit_order.php:
change the order of the includes and change them to require. move session start away and only set session name as the session is no started automatically. set_paths.inc: missing form set detection, auto create picture cache root folder if it does not exist Class.Login.inc set new acl var show_ea_extra. Is set to 1 if the user has more than one edit access group
This commit is contained in:
@@ -31,12 +31,11 @@
|
||||
$ECHO_ALL = 0;
|
||||
// $DEBUG_TMPL = 0;
|
||||
}
|
||||
include(LIBS."Class.DB.IO.inc");
|
||||
include(LIBS."Class.Login.inc");
|
||||
// set session name
|
||||
define('SET_SESSION_NAME', EDIT_SESSION_NAME);
|
||||
require(LIBS."Class.Login.inc");
|
||||
require(LIBS."Class.DB.IO.inc");
|
||||
require(LIBS.'Class.Smarty.Extend.inc');
|
||||
// start session here
|
||||
session_name(EDIT_SESSION_NAME);
|
||||
session_start();
|
||||
|
||||
// default lang
|
||||
if (!$lang)
|
||||
|
||||
Reference in New Issue
Block a user