Version 4.5.0
This commit is contained in:
1 parent
1a0c7fd3c2
commit
f79dcf067a
3791 files changed
+248032
-76372
No files matched your search
+7
-1
@@ -10,7 +10,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define('REPORT_EXCEPTIONS', TRUE);
|
||||
\define('REPORT_EXCEPTIONS', TRUE);
|
||||
require_once str_replace( 'applications/cms/interface/external/external.php', '', str_replace( '\\', '/', __FILE__ ) ) . 'init.php';
|
||||
\IPS\Dispatcher\External::i();
|
||||
|
||||
@@ -20,4 +20,10 @@ $block = \IPS\cms\Blocks\Block::display( $id );
|
||||
|
||||
\IPS\Output::i()->jsFiles = array_merge( \IPS\Output::i()->jsFiles, \IPS\Output::i()->js( 'front_external.js', 'cms', 'front' ) );
|
||||
\IPS\Output::i()->globalControllers[] = 'cms.front.external.communication';
|
||||
|
||||
if( isset( \IPS\Output::i()->httpHeaders['X-Frame-Options'] ) )
|
||||
{
|
||||
unset( \IPS\Output::i()->httpHeaders['X-Frame-Options'] );
|
||||
}
|
||||
|
||||
\IPS\Output::i()->sendOutput( \IPS\Theme::i()->getTemplate( 'global', 'core' )->blankTemplate( $block ), 200, 'text/html' );
|
||||
Whitespace-only changes.
Reference in new issue
Block a user