mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
one more N
This commit is contained in:
@@ -1450,7 +1450,7 @@ function _run_insert_handler($args)
|
|||||||
$_crc32 = crc32($auto_source) . $_dir_sep;
|
$_crc32 = crc32($auto_source) . $_dir_sep;
|
||||||
// prepend N in case crc32 was negative to avoid possible
|
// prepend N in case crc32 was negative to avoid possible
|
||||||
// OS issues with directory names starting with a "-"
|
// OS issues with directory names starting with a "-"
|
||||||
$_crc32 = 'N' . substr($_crc32,0,3) . $_dir_sep . $_crc32;
|
$_crc32 = 'N' . substr($_crc32,0,3) . $_dir_sep . 'N' . $_crc32;
|
||||||
$res .= $_crc32 . $_filename . '.php';
|
$res .= $_crc32 . $_filename . '.php';
|
||||||
} else {
|
} else {
|
||||||
$res .= str_replace($_dir_sep_enc,'^',urlencode($auto_source));
|
$res .= str_replace($_dir_sep_enc,'^',urlencode($auto_source));
|
||||||
|
@@ -1450,7 +1450,7 @@ function _run_insert_handler($args)
|
|||||||
$_crc32 = crc32($auto_source) . $_dir_sep;
|
$_crc32 = crc32($auto_source) . $_dir_sep;
|
||||||
// prepend N in case crc32 was negative to avoid possible
|
// prepend N in case crc32 was negative to avoid possible
|
||||||
// OS issues with directory names starting with a "-"
|
// OS issues with directory names starting with a "-"
|
||||||
$_crc32 = 'N' . substr($_crc32,0,3) . $_dir_sep . $_crc32;
|
$_crc32 = 'N' . substr($_crc32,0,3) . $_dir_sep . 'N' . $_crc32;
|
||||||
$res .= $_crc32 . $_filename . '.php';
|
$res .= $_crc32 . $_filename . '.php';
|
||||||
} else {
|
} else {
|
||||||
$res .= str_replace($_dir_sep_enc,'^',urlencode($auto_source));
|
$res .= str_replace($_dir_sep_enc,'^',urlencode($auto_source));
|
||||||
|
Reference in New Issue
Block a user