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