cvs: smarty / Config_File.class.php

From: Date: Wed, 03 Apr 2002 14:45:03 +0000
Subject: cvs: smarty / Config_File.class.php
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-7@lists.php.net to get a copy of this message
andrei Wed Apr 3 09:45:03 2002 EDT Modified files: /smarty Config_File.class.php Log: Separator setting fix. Index: smarty/Config_File.class.php diff -u smarty/Config_File.class.php:1.29 smarty/Config_File.class.php:1.30 --- smarty/Config_File.class.php:1.29 Tue Mar 26 12:51:29 2002 +++ smarty/Config_File.class.php Wed Apr 3 09:45:03 2002 @@ -74,7 +74,7 @@ */ function Config_File($config_path = NULL) { - if (substr(PHP_OS, 1, 3) == "WIN" || substr(PHP_OS, 1, 4) == "OS/2") + if (substr(PHP_OS, 0, 3) == "WIN" || substr(PHP_OS, 0, 4) == "OS/2") $this->_separator = "\\"; else $this->_separator = "/";

« previous php.smarty.cvs (#7) next »