1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Adding options to have a minimally loaded class2.php, for use mainly with ajax pages. Move online class to it's own file

This commit is contained in:
mcfly
2008-01-06 22:16:37 +00:00
parent 075cc748b6
commit 625fc0a5ca
4 changed files with 278 additions and 216 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/signup.php,v $
| $Revision: 1.13 $
| $Date: 2007-12-15 15:06:40 $
| $Author: e107steved $
| $Revision: 1.14 $
| $Date: 2008-01-06 22:16:37 $
| $Author: mcfly_e107 $
+----------------------------------------------------------------------------+
*/
@@ -25,6 +25,12 @@ if($qs[0] != "activate"){ // multi-language fix.
e107_include_once(e_LANGUAGEDIR.e_LANGUAGE."/lan_usersettings.php");
}
if (isset($pref['del_unv']) && $pref['del_unv'] && $pref['user_reg_veri'] != 2)
{
$threshold=(time() - ($pref['del_unv'] * 60));
$sql->db_Delete("user", "user_ban = 2 AND user_join < '{$threshold}' ");
}
include_once(e_HANDLER."user_extended_class.php");
$usere = new e107_user_extended;
require_once(e_HANDLER."calendar/calendar_class.php");