File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11# nodejs-output-php
22Шаблонизатор для nodejs
3- ```
3+ ``` HTML+PHP
44Автоматически подсвечивает php-тэги в любом текстовом редакторе
55Поддерживает передачу любых переменных в файл html(php):
66 Строки
2828```
2929
3030## Пример кода сервера (файл server.js)
31- ``` js
31+ ``` JavaScript
3232// Устанавливаем конфигурацию
3333myConfig = {};
3434// Конфигурация пользователя (глобальная)
@@ -104,7 +104,7 @@ server.listen(myConfig.data.port);
104104if (myConfig .data .isDebug ) console .log (' Server start on port ' + myConfig .data .port + ' ...' );
105105```
106106## Код отображения (файл test.php)
107- ``` html
107+ ``` HTML+PHP
108108<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
109109<html xmlns =" http://www.w3.org/1999/xhtml" >
110110 <head >
You can’t perform that action at this time.
0 commit comments