function DrupalSystem::__construct in X Autoload 7.4
Same name and namespace in other branches
- 7.5 src/DrupalSystem/DrupalSystem.php \Drupal\xautoload\DrupalSystem\DrupalSystem::__construct()
File
- lib/
DrupalSystem/ DrupalSystem.php, line 7
Class
Namespace
Drupal\xautoload\DrupalSystemCode
function __construct() {
if (!function_exists('drupal_get_filename')) {
debug_print_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
echo "\n\n";
throw new \Exception("This class works only within a working Drupal environment.");
}
}