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:
@@ -42,13 +42,14 @@
|
||||
$ECHO_ALL = 0;
|
||||
// $DEBUG_TMPL = 0;
|
||||
}
|
||||
include(LIBS."Class.Form.Generate.inc");
|
||||
include(LIBS."Class.Login.inc");
|
||||
// set session name here
|
||||
define('SET_SESSION_NAME', EDIT_SESSION_NAME);
|
||||
// login class
|
||||
require(LIBS."Class.Login.inc");
|
||||
// form generate for edit interface
|
||||
require(LIBS."Class.Form.Generate.inc");
|
||||
// Smarty: and the small extend for l10n calls
|
||||
require(LIBS.'Class.Smarty.Extend.inc');
|
||||
// start session here
|
||||
session_name(EDIT_SESSION_NAME);
|
||||
session_start();
|
||||
|
||||
// set default lang if not set otherwise
|
||||
if (!$lang)
|
||||
|
||||
Reference in New Issue
Block a user