GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved not used code to trash (rss, old perm.)
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
smarty
/
libs
/
internals
/
core.create_dir_structure.php
diff --git
a/wwwroot/smarty/libs/internals/core.create_dir_structure.php
b/wwwroot/smarty/libs/internals/core.create_dir_structure.php
index 999cf59302c690c14e488f57d48c6761abcddb68..3eecc49723c78615f8e28d0623984d07d09a58c9 100644
(file)
--- a/
wwwroot/smarty/libs/internals/core.create_dir_structure.php
+++ b/
wwwroot/smarty/libs/internals/core.create_dir_structure.php
@@
-22,7
+22,7
@@
function smarty_core_create_dir_structure($params, &$smarty)
/* unix-style paths */
$_dir = $params['dir'];
$_dir_parts = preg_split('!/+!', $_dir, -1, PREG_SPLIT_NO_EMPTY);
/* unix-style paths */
$_dir = $params['dir'];
$_dir_parts = preg_split('!/+!', $_dir, -1, PREG_SPLIT_NO_EMPTY);
- $_new_dir = (
$_dir{0}
=='/') ? '/' : getcwd().'/';
+ $_new_dir = (
substr($_dir, 0, 1)
=='/') ? '/' : getcwd().'/';
if($_use_open_basedir = !empty($_open_basedir_ini)) {
$_open_basedirs = explode(':', $_open_basedir_ini);
}
if($_use_open_basedir = !empty($_open_basedir_ini)) {
$_open_basedirs = explode(':', $_open_basedir_ini);
}
This page took
0.117696 seconds
and
4
git commands to generate.