mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Initialise shortcode handler later than main parser - requires that $pref is valid, otherwise shortcodes from plugins not loaded. Needs review of best way to do it
This commit is contained in:
14
class2.php
14
class2.php
@@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/class2.php,v $
|
||||
| $Revision: 1.37 $
|
||||
| $Date: 2007-12-29 19:01:21 $
|
||||
| $Revision: 1.38 $
|
||||
| $Date: 2007-12-30 16:54:31 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@@ -388,6 +388,16 @@ if(isset($pref['multilanguage_subdomain']) && $pref['multilanguage_subdomain'] &
|
||||
}
|
||||
|
||||
|
||||
|
||||
//----------------------------
|
||||
// Load shortcode handler
|
||||
//----------------------------
|
||||
// ********* This is probably a bodge! Work out what to do properly. Has to be done when $pref valid
|
||||
$tp->sch_load();
|
||||
|
||||
|
||||
|
||||
|
||||
// if a cookie name pref isn't set, make one :)
|
||||
if (!$pref['cookie_name']) {
|
||||
$pref['cookie_name'] = "e107cookie";
|
||||
|
Reference in New Issue
Block a user