- Timestamp:
- 12/06/07 13:17:30 (5 years ago)
- Files:
-
- 1 modified
-
lang/php/mumu/trunk/mumu.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/php/mumu/trunk/mumu.php
r2604 r2605 280 280 private $block_dict; // nodelist�������ock̾ => MuBlockNode(�λ��� 281 281 public $include_paths; // include�����ե��������ʥ�����������ǻȤ��� public $path; // ��ʬ�Υե����� 282 private $parent_path; // extends�Υե�����283 282 private $parent_tfile; // extends���������ƥƥ�졼�� function __construct($nodelist, $block_dict, $include_paths, 284 283 $path = null, $parent_path = null) { … … 288 287 $this->path = $path; 289 288 if ($parent_path && $path) { 290 if (($ this->parent_path = MuUtil::getpath($path, $parent_path)) === false291 || ($this->parent_tfile = MuParser::parse_from_file($ this->parent_path)) === false) {289 if (($epath = MuUtil::getpath($path, $parent_path)) === false 290 || ($this->parent_tfile = MuParser::parse_from_file($epath)) === false) { 292 291 throw new MuParserException('invalid filename specified on extends'); 293 292 } … … 339 338 } 340 339 } 341 if (isset($this->parent_ path)) {342 if ($cache_mtime < filemtime($this->parent_ path)) {340 if (isset($this->parent_tfile)) { 341 if ($cache_mtime < filemtime($this->parent_tfile->path)) { 343 342 return false; 344 343 } … … 1419 1418 } 1420 1419 } 1420 // ���������ʤ��ä���� 1421 1421 if (!isset($mf)) { 1422 1422 if (($t = file_get_contents($template_path)) === false) { … … 1431 1431 } 1432 1432 $mf = new MuFile($nl, $p->block_dict, $p->include_paths, $template_path, $p->extends); 1433 // ��ꤷ�����������¸ 1433 1434 if (isset($sfpath)) { 1434 1435 MuUtil::serialize_to_file($mf, $sfpath);
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)