plugins->moduleExists($p)) { $p_file = $core->plugins->moduleRoot($p) . '/index.php'; } if (file_exists($p_file)) { # Loading plugin $p_info = $core->plugins->getModules($p); $p_name = $p; $p_url = 'plugin.php?p=' . $p; $p_title = 'no content - plugin'; $p_head = ''; $p_content = '
' . __('No content found on this plugin.') . '
'; ob_start(); include $p_file; $res = ob_get_contents(); ob_end_clean(); if (preg_match('|(.*?)(.*?)|ms', $m[1], $mt)) { $p_title = $mt[1]; } if (preg_match_all('|(