From bb0771505a78c92445c1619135df9a88a863a433 Mon Sep 17 00:00:00 2001 From: messju Date: Mon, 1 Dec 2003 11:29:53 +0000 Subject: [PATCH] thought again about my latest commit and backed it out. --- libs/core/core.create_dir_structure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/core/core.create_dir_structure.php b/libs/core/core.create_dir_structure.php index fe2d0c0f..999cf593 100644 --- a/libs/core/core.create_dir_structure.php +++ b/libs/core/core.create_dir_structure.php @@ -31,7 +31,7 @@ function smarty_core_create_dir_structure($params, &$smarty) /* other-style paths */ $_dir = str_replace('\\','/', $params['dir']); $_dir_parts = preg_split('!/+!', $_dir, -1, PREG_SPLIT_NO_EMPTY); - if (preg_match('!^((/)|([a-zA-Z]:/))!', $_dir, $_root_dir)) { + if (preg_match('!^((//)|([a-zA-Z]:/))!', $_dir, $_root_dir)) { /* leading "//" for network volume, or "[letter]:/" for full path */ $_new_dir = $_root_dir[1]; /* remove drive-letter from _dir_parts */