‪TYPO3CMS  9.5
GlobalDebugFunctions.php
Go to the documentation of this file.
1 <?php
2 // Short-hand debug function
3 // If you wish to use the debug()-function, and it does not output something,
4 // please edit the IP mask in TYPO3_CONF_VARS
5 function ‪debug($variable = '', $title = null, $group = null)
6 {
7  if (!\‪TYPO3\CMS\Core\Utility\GeneralUtility::cmpIP(
8  \‪TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('REMOTE_ADDR'),
9  ‪$GLOBALS['TYPO3_CONF_VARS']['SYS']['devIPmask']
10  )
11  ) {
12  return;
13  }
14  ‪\TYPO3\CMS\Core\Utility\DebugUtility::debug($variable, $title, $group);
15 }
‪TYPO3\CMS\Core\Utility\DebugUtility\debug
‪static debug($var='', $header='Debug', $group='Debug')
Definition: DebugUtility.php:42
‪TYPO3
‪debug
‪debug($variable='', $title=null, $group=null)
Definition: GlobalDebugFunctions.php:5
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:5