Merge pull request #6471 from robbieaverill/bugfix/rename-template-viewer-peg

FIX Rename template parser from .inc to .peg so PHP doesn't include it automatically
This commit is contained in:
Damian Mooyman 2017-01-11 13:03:57 +13:00 committed by GitHub
commit 4e138f25cc

View File

@ -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