cvs: smarty /libs/core core.create_dir_structure.php
"Messju Mohr" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmessju1070278193@cvsserver> |
messju Mon Dec 1 06:29:53 2003 EDT
Modified files:
/smarty/libs/core core.create_dir_structure.php
Log:
thought again about my latest commit and backed it out.
Index: smarty/libs/core/core.create_dir_structure.php
diff -u smarty/libs/core/core.create_dir_structure.php:1.7 smarty/libs/core/core.create_dir_structure.php:1.8
--- smarty/libs/core/core.create_dir_structure.php:1.7 Mon Dec 1 04:09:20 2003
+++ smarty/libs/core/core.create_dir_structure.php Mon Dec 1 06:29:53 2003
@@ -31,7 +31,7 @@
/* 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 */
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php