mirror of https://github.com/MISP/MISP
commit
741a74165e
|
@ -132,7 +132,6 @@ if (Configure::read('MISP.baseurl')) {
|
||||||
CakePlugin::load('SysLog');
|
CakePlugin::load('SysLog');
|
||||||
CakePlugin::load('Assets'); // having Logable
|
CakePlugin::load('Assets'); // having Logable
|
||||||
CakePlugin::load('SysLogLogable');
|
CakePlugin::load('SysLogLogable');
|
||||||
CakePlugin::load('UrlCache');
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Uncomment the following line to enable client SSL certificate authentication.
|
* 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)
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
App::uses('UrlCacheAppHelper', 'UrlCache.View/Helper');
|
App::uses('Helper', 'View');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Application helper
|
* Application helper
|
||||||
|
@ -32,16 +30,13 @@ App::uses('UrlCacheAppHelper', 'UrlCache.View/Helper');
|
||||||
*
|
*
|
||||||
* @package app.View.Helper
|
* @package app.View.Helper
|
||||||
*/
|
*/
|
||||||
class AppHelper extends UrlCacheAppHelper {
|
class AppHelper extends Helper
|
||||||
|
{
|
||||||
public function afterLayout($layoutFile) {
|
public function url($url = null, $full = false)
|
||||||
}
|
{
|
||||||
|
|
||||||
public function url($url = null, $full = false) {
|
|
||||||
if (is_array($url) && !isset($url['admin'])) {
|
if (is_array($url) && !isset($url['admin'])) {
|
||||||
$url['admin'] = false;
|
$url['admin'] = false;
|
||||||
}
|
}
|
||||||
return parent::url($url, $full);
|
return parent::url($url, $full);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,7 +106,6 @@ if (!Configure::read('MISP.baseurl')) {
|
||||||
CakePlugin::load('SysLog');
|
CakePlugin::load('SysLog');
|
||||||
CakePlugin::load('Assets'); // having Logable
|
CakePlugin::load('Assets'); // having Logable
|
||||||
CakePlugin::load('SysLogLogable');
|
CakePlugin::load('SysLogLogable');
|
||||||
CakePlugin::load('UrlCache');
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Uncomment the following line to enable client SSL certificate authentication.
|
* Uncomment the following line to enable client SSL certificate authentication.
|
||||||
|
|
Loading…
Reference in New Issue