bjori Thu Aug 9 15:33:21 2007 UTC
Modified files: /phd/themes/php chunkedhtml.php Log: - Fix typo - Fix WS - Add vim modeline http://cvs.php.net/viewvc.cgi/phd/themes/php/chunkedhtml.php?r1=1.2&r2=1.3&diff_format=u Index: phd/themes/php/chunkedhtml.php diff -u phd/themes/php/chunkedhtml.php:1.2 phd/themes/php/chunkedhtml.php:1.3 --- phd/themes/php/chunkedhtml.php:1.2 Thu Aug 9 15:25:35 2007 +++ phd/themes/php/chunkedhtml.php Thu Aug 9 15:33:21 2007 @@ -1,8 +1,8 @@ <?php class chunkedhtml extends phpweb { public function __construct(array $IDs, array $IDMap, $filename, $ext = "html") { - parent::__construct($IDs, $IDMap, $filename, $ext, true); - if(!file_exists("html") || is_file("html")) mkdir("html") or die("Can't create the cache directory"); + phpdotnet::__construct($IDs, $IDMap, $filename, $ext, true); + if(!file_exists("html") || is_file("html")) mkdir("html") or die("Can't create the cache directory"); } public function header($id) { return "<html><body>\n"; @@ -10,8 +10,13 @@ public function footer($id) { return "</body></html>\n"; } - public function __destruct() { - copy("html/manual.html", "html/index.html"); - } + public function __destruct() { + copy("html/manual.html", "html/index.html"); + } } +/* + * vim600: sw=4 ts=4 fdm=syntax syntax=php et + * vim<600: sw=4 ts=4 + */ +