Permalink
Browse files

fixed error on windows platforms with backward slash

  • Loading branch information...
1 parent 88f758f commit 25ce1f99d1cfb1928b186f7aba0f15b468c841ed Daniel Ruf committed Dec 2, 2011
Showing with 3 additions and 5 deletions.
  1. +3 −5 config.php.dist
View
@@ -6,10 +6,8 @@ $config['session_key'] = 'your unique session key phrase goes here';
$config['rss_key'] = 'your unique rss key phrase goes here';
$config['flatfile_key'] = '';
$data_path=getcwd();
-$data_path = str_replace("/install", "", $data_path);
-$config['data_path'] = $data_path.'/data/';
-
-
+$data_path=$data_path.'/data/';
+$data_path = str_replace("install/", "", $data_path);
+$config['data_path'] = $data_path;
$config['debug_level'] = 0;
-
?>

0 comments on commit 25ce1f9

Please sign in to comment.