mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-09 12:54:26 +02:00
- update of paths
This commit is contained in:
@@ -5,7 +5,7 @@ passthru('C:\wamp\bin\php\php5.2.8\php ./ParserGenerator/cli.php internal.config
|
|||||||
// Create Lexer
|
// Create Lexer
|
||||||
require_once './LexerGenerator.php';
|
require_once './LexerGenerator.php';
|
||||||
$lex = new PHP_LexerGenerator('internal.configfilelexer.plex');
|
$lex = new PHP_LexerGenerator('internal.configfilelexer.plex');
|
||||||
copy('internal.configfilelexer.php','../sysplugins/internal.configfilelexer.php');
|
copy('internal.configfilelexer.php','../../distribution/libs/sysplugins/internal.configfilelexer.php');
|
||||||
copy('internal.configfileparser.php','../sysplugins/internal.configfileparser.php');
|
copy('internal.configfileparser.php','../../distribution/libs/sysplugins/internal.configfileparser.php');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@@ -12,8 +12,8 @@ file_put_contents('internal.templatelexer.php', $contents);
|
|||||||
//$contents = file_get_contents('internal.templateparser.php');
|
//$contents = file_get_contents('internal.templateparser.php');
|
||||||
//$contents = preg_replace('%/\*[\s\S]+?\*/|(?://|#).*(?:\r\n|\n)%m', '', $contents);
|
//$contents = preg_replace('%/\*[\s\S]+?\*/|(?://|#).*(?:\r\n|\n)%m', '', $contents);
|
||||||
//file_put_contents('internal.templateparser.php', $contents);
|
//file_put_contents('internal.templateparser.php', $contents);
|
||||||
copy('internal.templatelexer.php','../sysplugins/internal.templatelexer.php');
|
copy('internal.templatelexer.php','../../distribution/libs/sysplugins/internal.templatelexer.php');
|
||||||
copy('internal.templateparser.php','../sysplugins/internal.templateparser.php');
|
copy('internal.templateparser.php','../../distribution/libs/sysplugins/internal.templateparser.php');
|
||||||
//unlink('internal.templatelexer.php');
|
//unlink('internal.templatelexer.php');
|
||||||
//unlink('internal.templateparser.php');
|
//unlink('internal.templateparser.php');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user