1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

fixed undefined $register_sc

This commit is contained in:
secretr
2008-08-14 13:18:26 +00:00
parent d1bdf04727
commit 91a4419970

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/class2.php,v $ | $Source: /cvs_backup/e107_0.8/class2.php,v $
| $Revision: 1.64 $ | $Revision: 1.65 $
| $Date: 2008-08-11 20:45:01 $ | $Date: 2008-08-14 13:18:26 $
| $Author: e107steved $ | $Author: secretr $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
// //
@@ -422,12 +422,6 @@ if(varset($pref['multilanguage_subdomain']) && ($pref['user_tracking'] == "sessi
} }
//----------------------------
// Load shortcode handler
//----------------------------
// ********* This is probably a bodge! Work out what to do properly. Has to be done when $pref valid
$tp->sch_load();
// start a session if session based login is enabled // start a session if session based login is enabled
if ($pref['user_tracking'] == "session") if ($pref['user_tracking'] == "session")
{ {
@@ -941,6 +935,12 @@ else
} }
//----------------------------
// Load shortcode handler
//----------------------------
// ********* This is probably a bodge! Work out what to do properly. Has to be done when $pref valid
//FIXED - undefined $register_sc
$tp->sch_load();
$exclude_lan = array("lan_signup.php"); // required for multi-language. $exclude_lan = array("lan_signup.php"); // required for multi-language.