Просмотр исходного кода

Changed otag and ctag to public. Someone might possibly want to change these at the outset without passing junk in at the top of the template.

Justin Hileman 15 лет назад
Родитель
Сommit
151e43540a
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      Mustache.php

+ 2 - 2
Mustache.php

@@ -14,8 +14,8 @@
  */
 class Mustache {
 
-	protected $otag = '{{';
-	protected $ctag = '}}';
+	public $otag = '{{';
+	public $ctag = '}}';
 	protected $tagRegEx;
 
 	protected $template;