Перекодировка в utf-8

This commit is contained in:
Фёдор Подлеснов 2016-07-14 16:29:26 +03:00
parent 43f501a5e2
commit df2e65a670
80 changed files with 668 additions and 668 deletions

View file

@ -4,12 +4,12 @@ require_once 'core/path.php';
require_once 'creole/util/sql/SQLStatementExtractor.php';
/**
* Обработка файлов для установки
* Обработка файлов для установки
*/
class Setup
{
/**
* Содержимое PHP файла
* Содержимое PHP файла
*/
static function fileContent($file, array $tpl)
{
@ -21,7 +21,7 @@ class Setup
}
/**
* Копирует файлы шаблонной директории
* Копирует файлы шаблонной директории
*/
static function copyTemplatePath($srcPath, $dstPath, array $tpl, $tplFile = 'tpl')
{
@ -31,12 +31,12 @@ class Setup
foreach ($files as $file) {
if (Path::getExtension($file) == $tplFile) {
// Шаблон
// Шаблон
$dst = $out->append($path->relPath (Path::skipExtension($file)));
Path::prepare($dst);
file_put_contents($dst, self::fileContent($file, $tpl));
} else {
// Обычный файл
// Обычный файл
$dst = $out->append($path->relPath ($file));
Path::prepare($dst);
copy($file, $dst);
@ -45,7 +45,7 @@ class Setup
}
/**
* Выполнение Списка SQL команд
* Выполнение Списка SQL команд
*/
static function batchSQL(Connection $conn, $file)
{