Files
gustavoo-me/wp-content/plugins/fluent-crm/boot/globals.php
T
2026-07-23 22:56:30 -03:00

25 lines
597 B
PHP

<?php
/**
***** DO NOT CALL ANY FUNCTIONS DIRECTLY FROM THIS FILE ******
*
* This file will be loaded even before the framework is loaded
* so the $app is not available here, only declare functions here.
*/
$globalsDevFile = __DIR__ . '/globals_dev.php';
is_readable($globalsDevFile) && include $globalsDevFile;
if (!function_exists('dd')) {
function dd()
{
foreach (func_get_args() as $arg) {
echo "<pre>";
print_r($arg); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
echo "</pre>";
}
die();
}
}