Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- chdir('C:xampphtdocstestdrupal');
- // Bootstrap Drupal up through the database phase.
- include_once('./includes/bootstrap.inc');
- drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE);
- ?>
- 'C:xampphtdocstestdrupal');
- // Bootstrap Drupal up through the database phase.
- include_once('
- /**
- * Root directory of Drupal installation.
- */
- define('DRUPAL_ROOT', getcwd());
- require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
- drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
- menu_execute_active_handler();
- function module_load_include($type, $module, $name = NULL) {
- if (!isset($name)) {
- $name = $module;
- }
- if (function_exists('drupal_get_path')) {
- $file = DRUPAL_ROOT . '/' . drupal_get_path('module', $module) . "/$name.$type";
- if (is_file($file)) {
- require_once $file;
- return $file;
- }
- }
- return FALSE;
- }
- define('DRUPAL_ROOT', 'C:xampphtdocstestdrupal');
- // Bootstrap Drupal up through the database phase.
- require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
- drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE);
- chdir('C:xampphtdocstestdrupal\');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement