From fa6db6d700825cae3e8c8f6c4f36a62995d98adc Mon Sep 17 00:00:00 2001 From: Exile Date: Mon, 9 Mar 2015 00:47:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B0=D1=80=D0=B0=D0=BC=D0=B5=D1=82?= =?UTF-8?q?=D1=80=D1=8B=20tidy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Удаляем параметр merge-spans - отсутствует в некоторых версиях tidy из-за чего у большинства с его работой возникают проблемы. --- README.md | 2 +- library/config.php | 6 +++--- library/includes/bbcode.php | 1 - styles/templates/default/usercp_register.tpl | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b1f3910a9..36c988f1f 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ TorrentPier - движок торрент-трекера, написанный 2. Создаем базу данных, в которую при помощи phpmyadmin (или любого другого удобного инструмента) импортируем дамп, расположенный в папке **install/sql/mysql.sql** 3. Правим файл конфигурации **library/config.php**, загруженный на сервер: -> ***'db1' => array('localhost', 'dbase', 'user', 'pass', $charset, $pconnect)*** +> ***'db1' => array('localhost', 'tp_216', 'user', 'pass', $charset, $pconnect)*** В данной строке изменяем данные входа в базу данных ***$domain_name = 'torrentpier.me';*** В данной строке указываем ваше доменное имя. Остальные правки в файле вносятся по усмотрению, исходя из необходимости из внесения (ориентируйтесь на описания, указанные у полей). diff --git a/library/config.php b/library/config.php index 3594eca78..96afb2522 100644 --- a/library/config.php +++ b/library/config.php @@ -72,7 +72,7 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do // Version info $bb_cfg['tp_version'] = '2.1.6'; -$bb_cfg['tp_release_date'] = '**-01-2015'; +$bb_cfg['tp_release_date'] = '**-03-2015'; $bb_cfg['tp_release_state'] = 'ALPHA'; // Database @@ -159,7 +159,7 @@ $bb_cfg['ocelot'] = array( 'enabled' => false, 'host' => $domain_name, 'port' => 2710, - 'url' => "http://$domain_name:2710/", // with '/' + 'url' => "http://$domain_name:2710/", // with '/' 'secret' => 'some_10_chars', // 10 chars 'stats' => 'some_10_chars', // 10 chars ); @@ -630,4 +630,4 @@ if (file_exists(BB_ROOT. '/library/config.local.php')) include_once(BB_ROOT. '/library/config.local.php'); } -define('BB_CFG_LOADED', true); +define('BB_CFG_LOADED', true); \ No newline at end of file diff --git a/library/includes/bbcode.php b/library/includes/bbcode.php index c49404b89..6eccb1955 100644 --- a/library/includes/bbcode.php +++ b/library/includes/bbcode.php @@ -453,7 +453,6 @@ class bbcode 'join-classes' => false, 'join-styles' => false, 'merge-divs' => false, - 'merge-spans' => false, 'newline' => 'LF', 'output-xhtml' => true, 'preserve-entities' => true, diff --git a/styles/templates/default/usercp_register.tpl b/styles/templates/default/usercp_register.tpl index a97c3a0ef..488a4864e 100644 --- a/styles/templates/default/usercp_register.tpl +++ b/styles/templates/default/usercp_register.tpl @@ -326,4 +326,4 @@ ajax.callback.posts = function(data){ - + \ No newline at end of file