view/SSTemplateParser.php 1 location
|
@@ 11-17 (lines=7) @@
|
8 |
|
|
9 |
|
|
10 |
|
// We want this to work when run by hand too |
11 |
|
if (defined(THIRDPARTY_PATH)) { |
12 |
|
require_once(THIRDPARTY_PATH . '/php-peg/Parser.php'); |
13 |
|
} |
14 |
|
else { |
15 |
|
$base = dirname(__FILE__); |
16 |
|
require_once($base.'/../thirdparty/php-peg/Parser.php'); |
17 |
|
} |
18 |
|
|
19 |
|
/** |
20 |
|
* This is the exception raised when failing to parse a template. Note that we don't currently do any static analysis, |
view/SSTemplateParser.php.inc 1 location
|
@@ 32-38 (lines=7) @@
|
29 |
|
*/ |
30 |
|
|
31 |
|
// We want this to work when run by hand too |
32 |
|
if (defined(THIRDPARTY_PATH)) { |
33 |
|
require_once(THIRDPARTY_PATH . '/php-peg/Parser.php'); |
34 |
|
} |
35 |
|
else { |
36 |
|
$base = dirname(__FILE__); |
37 |
|
require_once($base.'/../thirdparty/php-peg/Parser.php'); |
38 |
|
} |
39 |
|
|
40 |
|
/** |
41 |
|
* This is the exception raised when failing to parse a template. Note that we don't currently do any static analysis, |