You are here

function drupalize in Brilliant Gallery 6.2

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.3 image.php \drupalize()
1 call to drupalize()
image.php in ./image.php

File

./image.php, line 10

Code

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

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

  #drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
  drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE);

  #drupal_cron_run();
}