| Zeile 3... |
Zeile 3... |
| 3 |
// $Id: weban_helper.php 713 2016-09-29 17:39:30Z lars $
|
3 |
// $Id: weban_helper.php 713 2016-09-29 17:39:30Z lars $
|
| 4 |
setlocale(LC_TIME, "de_DE.UTF-8");
|
4 |
setlocale(LC_TIME, "de_DE.UTF-8");
|
| 5 |
$GLOBALS['ci'] = &get_instance();
|
5 |
$GLOBALS['ci'] = &get_instance();
|
| 6 |
$GLOBALS["ci"]->load->library('smartie',null,'smarty');
|
6 |
$GLOBALS["ci"]->load->library('smartie',null,'smarty');
|
| 7 |
$GLOBALS["ci"]->load->library('session');
|
7 |
$GLOBALS["ci"]->load->library('session');
|
| - |
|
8 |
$GLOBALS["ci"]->load->library('database');
|
| - |
|
9 |
$GLOBALS["ci"]->load->library('i18n');
|
| - |
|
10 |
$GLOBALS["ci"]->load->library('form_validation');
|
| - |
|
11 |
$GLOBALS["ci"]->load->library('pagination');
|
| 8 |
$csrf_name = $GLOBALS["ci"]->security->get_csrf_token_name();
|
12 |
$csrf_name = $GLOBALS["ci"]->security->get_csrf_token_name();
|
| 9 |
$csrf_value = $GLOBALS["ci"]->security->get_csrf_hash();
|
13 |
$csrf_value = $GLOBALS["ci"]->security->get_csrf_hash();
|
| 10 |
$GLOBALS["ci"]->smarty->assign('csrf_name', $csrf_name);
|
14 |
$GLOBALS["ci"]->smarty->assign('csrf_name', $csrf_name);
|
| 11 |
$GLOBALS["ci"]->smarty->assign('csrf_value', $csrf_value);
|
15 |
$GLOBALS["ci"]->smarty->assign('csrf_value', $csrf_value);
|
| 12 |
if (!isset($_SESSION['username']))
|
16 |
if (!isset($_SESSION['username']))
|