From 3635119d0deb6ffa8a0c8842d1e7d1b186a079eb Mon Sep 17 00:00:00 2001 From: Mike Pirog Date: Sun, 29 Jun 2014 14:07:19 -0700 Subject: [PATCH] #72: Use platform agnostic directory seperator for subtheme generator --- includes/config.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/config.inc b/includes/config.inc index 19fafa8..e71610b 100644 --- a/includes/config.inc +++ b/includes/config.inc @@ -481,7 +481,7 @@ function kalatheme_run_install($filetransfer, $projects) { // but _batch_process prepends DRUPAL_ROOT so we need to strip that // out here as well $file = dirname(__FILE__) . '/../kalatheme.authorize.inc'; - $file = str_replace(DRUPAL_ROOT . '/', '', $file); + $file = str_replace(DRUPAL_ROOT . DIRECTORY_SEPARATOR, '', $file); // Set the batch up! $batch = array(