1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Only load faqs css when needed.

This commit is contained in:
Cameron
2013-03-26 20:14:03 -07:00
parent ba2cdad282
commit b485e04f1c
2 changed files with 6 additions and 1 deletions

View File

@@ -17,6 +17,8 @@
*
* FAQ plugin list controller
*/
class plugin_faqs_list_controller extends eControllerFront
{
@@ -42,6 +44,7 @@ class plugin_faqs_list_controller extends eControllerFront
public function init()
{
e107::lan('faqs', 'front');
e107::css('faqs','faqs.css');
}
public function actionIndex()

View File

@@ -2,4 +2,6 @@
if (!defined('e107_INIT')) { exit; }
e107::css('faqs','faqs.css');