[*] PROJECT : Adding hook on FrontController and AdminController SetMedia method
This commit is contained in:
@@ -1578,6 +1578,9 @@ class AdminControllerCore extends Controller
|
|||||||
if (Configuration::get('PS_HELPBOX'))
|
if (Configuration::get('PS_HELPBOX'))
|
||||||
$this->addJS(_PS_JS_DIR_.'helpAccess.js');
|
$this->addJS(_PS_JS_DIR_.'helpAccess.js');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Execute Hook AdminController SetMedia
|
||||||
|
Hook::exec('actionAdminControllerSetMedia', array());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -683,6 +683,9 @@ class FrontControllerCore extends Controller
|
|||||||
}
|
}
|
||||||
if ($this->context->language->is_rtl)
|
if ($this->context->language->is_rtl)
|
||||||
$this->addCSS(_THEME_CSS_DIR_.'rtl.css');
|
$this->addCSS(_THEME_CSS_DIR_.'rtl.css');
|
||||||
|
|
||||||
|
// Execute Hook FrontController SetMedia
|
||||||
|
Hook::exec('actionFrontControllerSetMedia', array());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function initHeader()
|
public function initHeader()
|
||||||
|
|||||||
Reference in New Issue
Block a user