mirror of https://github.com/MISP/MISP
fix: [internal] Remove UrlCache
parent
0f7d70a825
commit
0a941bd7f3
|
@ -132,7 +132,6 @@ if (Configure::read('MISP.baseurl')) {
|
|||
CakePlugin::load('SysLog');
|
||||
CakePlugin::load('Assets'); // having Logable
|
||||
CakePlugin::load('SysLogLogable');
|
||||
CakePlugin::load('UrlCache');
|
||||
|
||||
/**
|
||||
* Uncomment the following line to enable client SSL certificate authentication.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
This plugin is not used anymore, but it is here to keep backward compatibility.
|
|
@ -20,9 +20,7 @@
|
|||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
|
||||
App::uses('UrlCacheAppHelper', 'UrlCache.View/Helper');
|
||||
|
||||
|
||||
App::uses('Helper', 'View');
|
||||
|
||||
/**
|
||||
* Application helper
|
||||
|
@ -32,16 +30,13 @@ App::uses('UrlCacheAppHelper', 'UrlCache.View/Helper');
|
|||
*
|
||||
* @package app.View.Helper
|
||||
*/
|
||||
class AppHelper extends UrlCacheAppHelper {
|
||||
|
||||
public function afterLayout($layoutFile) {
|
||||
}
|
||||
|
||||
public function url($url = null, $full = false) {
|
||||
class AppHelper extends Helper
|
||||
{
|
||||
public function url($url = null, $full = false)
|
||||
{
|
||||
if (is_array($url) && !isset($url['admin'])) {
|
||||
$url['admin'] = false;
|
||||
}
|
||||
return parent::url($url, $full);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -106,7 +106,6 @@ if (!Configure::read('MISP.baseurl')) {
|
|||
CakePlugin::load('SysLog');
|
||||
CakePlugin::load('Assets'); // having Logable
|
||||
CakePlugin::load('SysLogLogable');
|
||||
CakePlugin::load('UrlCache');
|
||||
|
||||
/**
|
||||
* Uncomment the following line to enable client SSL certificate authentication.
|
||||
|
|
Loading…
Reference in New Issue