From 068301591965dd2cac5d493b33f2f600f0d61a8c Mon Sep 17 00:00:00 2001
From: Tim Steiner <tsteiner2@unl.edu>
Date: Fri, 15 Oct 2010 18:34:17 +0000
Subject: [PATCH] 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
---
 .htaccess.sample | 1 +
 cron.php         | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/.htaccess.sample b/.htaccess.sample
index 21a953ed..92a50e2d 100644
--- a/.htaccess.sample
+++ b/.htaccess.sample
@@ -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%
diff --git a/cron.php b/cron.php
index 91e6f957..41b9d11d 100644
--- a/cron.php
+++ b/cron.php
@@ -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']) {
-- 
GitLab