Skip to content
Snippets Groups Projects
Commit 06830159 authored by Tim Steiner's avatar Tim Steiner
Browse files

Update cron.php and .htaccess.sample to use unl_bootstrap()

git-svn-id: file:///tmp/wdn_thm_drupal/trunk@245 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent f897ba70
Branches
Tags
No related merge requests found
......@@ -65,6 +65,7 @@ DirectoryIndex index.php index.html index.htm
# THIS SECTION IS AUTOMATICALY GENERATED.
# DO NOT EDIT!!!!
RewriteRule .*/cron cron.php
RewriteRule .*/update.php update.php
# %UNL_CREATION_TOOL_STUB%
......
......@@ -11,7 +11,9 @@
*/
define('DRUPAL_ROOT', getcwd());
include_once DRUPAL_ROOT . '/includes/unl_bootstrap.inc';
include_once DRUPAL_ROOT . '/includes/bootstrap.inc';
unl_bootstrap();
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
if (!isset($_GET['cron_key']) || variable_get('cron_key', 'drupal') != $_GET['cron_key']) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment