replaced hardcoded path separator with PATH_SEPARATOR constant

This commit is contained in:
freespace
2006-11-22 14:41:10 +00:00
parent 7727c03141
commit c5b1d2692c

View File

@@ -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>