win32 bug

From: Date: Wed, 17 Oct 2001 08:09:45 +0000
Subject: win32 bug
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1709@lists.php.net to get a copy of this message
Hello smarty! $smarty->display("file:c:/web/www/block/html/b_stat.html"); doesnt work. here is my patch function _fetch_template_source($tpl_path, &$template_source, &$template_timestamp) { // KB patch if (preg_match("/([^:]*):(.*)/", $tpl_path, $out)) { $resource_type = $out[1]; $resource_name = $out[2]; } else { // no resource type, treat as type "file" $resource_type = 'file'; $resource_name = $tpl_path; } switch ($resource_type) { -- Best regards, Konstantin mailto:ameoba32@mail.ru

« previous php.smarty.general (#1709) next »