Browse Source

fix session handling

master
parent
commit
244d47a5a7
  1. 2
      ajax.php
  2. 2
      index.php

2
ajax.php

@ -5,8 +5,8 @@
*/ */
?> ?>
<?php include "conf.php"; /* load a local configuration */ ?> <?php include "conf.php"; /* load a local configuration */ ?>
<?php include "modulekit/loader.php"; /* loads all php-includes */ ?>
<?php session_start(); ?> <?php session_start(); ?>
<?php include "modulekit/loader.php"; /* loads all php-includes */ ?>
<?php <?php
call_hooks("ajax_start"); call_hooks("ajax_start");

2
index.php

@ -1,6 +1,6 @@
<?php include "conf.php"; /* load a local configuration */ ?> <?php include "conf.php"; /* load a local configuration */ ?>
<?php include "modulekit/loader.php"; /* loads all php-includes */ ?>
<?php session_start(); ?> <?php session_start(); ?>
<?php include "modulekit/loader.php"; /* loads all php-includes */ ?>
<?php call_hooks("init"); /* initialize submodules */ ?> <?php call_hooks("init"); /* initialize submodules */ ?>
<?php <?php
html_export_var(array( html_export_var(array(

Loading…
Cancel
Save