From 62eb0e61422de7e59c335eed4c789587e225f13c Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Wed, 11 Jan 2017 12:36:08 +1300 Subject: [PATCH] FIX Rename template parser from .inc to .peg so PHP doesn't include it automatically --- src/View/{SSTemplateParser.php.inc => SSTemplateParser.peg} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/View/{SSTemplateParser.php.inc => SSTemplateParser.peg} (99%) diff --git a/src/View/SSTemplateParser.php.inc b/src/View/SSTemplateParser.peg similarity index 99% rename from src/View/SSTemplateParser.php.inc rename to src/View/SSTemplateParser.peg index a7fb472fb..f91edc6a9 100644 --- a/src/View/SSTemplateParser.php.inc +++ b/src/View/SSTemplateParser.peg @@ -12,7 +12,7 @@ template language, producing the executable version SSTemplateParser.php To recompile after changing this file, run this from the 'framework/View' directory via command line (in most cases this is: sapphire/view): - php ../thirdparty/php-peg/cli.php SSTemplateParser.php.inc > SSTemplateParser.php + php ../thirdparty/php-peg/cli.php SSTemplateParser.peg > SSTemplateParser.php See the php-peg docs for more information on the parser format, and how to convert this file into SSTemplateParser.php