You are here

function drupalize in Brilliant Gallery 6.3

Same name and namespace in other branches
  1. 5.4 image.php \drupalize()
  2. 5.3 image.php \drupalize()
  3. 6 image.php \drupalize()
  4. 6.2 image.php \drupalize()
1 call to drupalize()
image.php in ./image.php

File

./image.php, line 16

Code

function drupalize() {
  while (!@stat('./includes/bootstrap.inc')) {
    chdir('..');
  }

  #module_load_include('/includes/bootstrap.inc', 'image', 'includes/bootstrap');
  require_once './includes/bootstrap.inc';
  require_once './includes/file.inc';
  drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);

  // See http://drupal.org/node/211378#comment-924059

  #drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE);

  #drupal_cron_run();
}