[fixup/theme] Fix theme paths and other related paths in module files
Due to the new extension system some paths to files are no longer correct and need to be fixed. Additionally, an event listener that allows the loading of portal.css has been added. B3P-118
This commit is contained in:
@@ -408,12 +408,12 @@ function get_sub_taged_string($message, $bbcode_uid, $length)
|
||||
|
||||
if(!class_exists('phpbb_trim_message'))
|
||||
{
|
||||
include($portal_root_path . '../includes/trim_message/trim_message.' . $phpEx);
|
||||
include($portal_root_path . 'includes/trim_message/trim_message.' . $phpEx);
|
||||
}
|
||||
|
||||
if(!class_exists('phpbb_trim_message_bbcodes'))
|
||||
{
|
||||
include($portal_root_path . '../includes/trim_message/bbcodes.' . $phpEx);
|
||||
include($portal_root_path . 'includes/trim_message/bbcodes.' . $phpEx);
|
||||
}
|
||||
|
||||
$object = new phpbb_trim_message($message, $bbcode_uid, $length);
|
||||
|
||||
Reference in New Issue
Block a user