34 ini_set(
'display_errors',
'On');
46 date_default_timezone_set(
"Europe/Berlin");
50 $absPath = str_replace(
'\\',
'/',realpath(dirname(__FILE__))).
'/';
57 require_once(
ABS_PATH.
"inc/functions.php");
58 require_once(
ABS_PATH.
"inc/functions_sponsoring.php");
59 require_once(
ABS_PATH.
"inc/functions_locks.php");
60 require_once(
ABS_PATH.
"inc/functions_delete.php");
61 require_once(
ABS_PATH.
"inc/functions_export.php");
63 require_once(
ABS_PATH.
'/libs/usercake/config_usercake.php');
65 require_once(
ABS_PATH.
'libs/smarty/Smarty.class.php');
82 if (mysqli_connect_errno() != 0) {
83 $errorTextArray = array(mysqli_connect_error());
96 $smarty->clearCompiledTemplate();
102 $smarty->assign(
'ownUserName', $loggedInUser->username);
105 $smarty->assign(
'ownUserId',$loggedInUser->userId);
107 $smarty->assign(
'changePassword',
true);