Browse Source

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 năm trước cách đây
mục cha
commit
151e43540a
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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;