Version 4.5.0
This commit is contained in:
1 parent
1a0c7fd3c2
commit
f79dcf067a
3791 files changed
+248032
-76372
No files matched your search
@@ -0,0 +1,21 @@
|
||||
//<?php
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
class nexus_hook_DispatcherAdmin extends _HOOK_CLASS_
|
||||
{
|
||||
|
||||
public function finish()
|
||||
{
|
||||
if( $this->module->application == 'nexus' AND $this->module->key == 'hosting' )
|
||||
{
|
||||
\IPS\Output::i()->output = \IPS\Theme::i()->getTemplate( 'global', 'core' )->message( 'nexus_hosting_deprecated', 'warning' ) . \IPS\Output::i()->output;
|
||||
}
|
||||
|
||||
return parent::finish();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user