File: /home/honghock/public_html/wp-content/plugins/ninja-tables/boot/globals.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.
*/
if ($app->config->get('app.env') == 'dev') {
$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);
echo "</pre>";
}
die();
}
}
include_once __DIR__ . '/ninja-tables-global-function.php';