Upgraded to latest version of Smarty 2.6.9
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* @link http://smarty.php.net/
|
||||
* @version 2.6.2
|
||||
* @copyright Copyright: 2001-2004 ispi of Lincoln, Inc.
|
||||
* @version 2.6.9
|
||||
* @copyright Copyright: 2001-2005 New Digital Group, Inc.
|
||||
* @author Andrei Zmievski <[email protected]>
|
||||
* @access public
|
||||
* @package Smarty
|
||||
@@ -240,7 +240,7 @@ class Config_File {
|
||||
return false;
|
||||
}
|
||||
|
||||
$contents = fread($fp, filesize($config_file));
|
||||
$contents = ($size = filesize($config_file)) ? fread($fp, $size) : '';
|
||||
fclose($fp);
|
||||
|
||||
$this->_config_data[$config_file] = $this->parse_contents($contents);
|
||||
|
||||
Reference in New Issue
Block a user