mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 03:44:26 +02:00
replaced hardcoded path separator with PATH_SEPARATOR constant
This commit is contained in:
@@ -337,10 +337,10 @@ include_path = ".;c:\php\includes;c:\webroot\libs\Smarty-v.e.r\libs\"
|
||||
<![CDATA[
|
||||
<?php
|
||||
// *nix
|
||||
ini_set('include_path', ini_get('include_path').':/usr/local/lib/Smarty-v.e.r/libs/');
|
||||
ini_set('include_path', ini_get('include_path').PATH_SEPARATOR.'/usr/local/lib/Smarty-v.e.r/libs/');
|
||||
|
||||
// windows
|
||||
ini_set('include_path', ini_get('include_path').';c:/webroot/lib/Smarty-v.e.r/libs/');
|
||||
ini_set('include_path', ini_get('include_path').PATH_SEPARATOR.'c:/webroot/lib/Smarty-v.e.r/libs/');
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
Reference in New Issue
Block a user