--- limonade.php 2009-05-22 16:39:40.000000000 +0200 +++ limonade_patched.php 2009-05-26 14:01:30.000000000 +0200 @@ -1153,7 +1153,11 @@ $args = func_get_args(); $content_or_func = array_shift($args); $layout = count($args) > 0 ? array_shift($args) : layout(); - $view_path = option('views_dir').$content_or_func; + if(strpos(DIRECTORY_SEPARATOR, option('views_dir')) === strlen(option('views_dir'))) { + $view_path = option('views_dir') . $content_or_func; + } else { + $view_path = option('views_dir') . DIRECTORY_SEPARATOR . $content_or_func; + } $vars = array_merge(set(), $locals); if(function_exists($content_or_func)) @@ -1952,4 +1956,4 @@ # ================================= END ================================== # -?> \ No newline at end of file +?>