SMFPT - Suporte e Manutenção de Fórum em Português

Começando com SMF => Instalação e atualizações => Tópico iniciado por: candidosa2 em 27 de Setembro de 2007, 05:55

Título: 1.1.3 para 1.1.4 Manualmente Upgrade....
Enviado por: candidosa2 em 27 de Setembro de 2007, 05:55
Passo a passo como Fazer Upgrade Manualmente do Nosso SMF

Começamos do directório Raiz os códigos que vem por cima e para alterar colocar o que vem abaixo dele

/index.php

Código: [Seleccione]
* Software Version:           SMF 1.1.3                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$forum_version = 'SMF 1.1.3';
Código: [Seleccione]
$forum_version = 'SMF 1.1.4';
Código: [Seleccione]
if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'login2')
{
require_once($sourcedir . '/LogInOut.php');
return 'Login2';

Código: [Seleccione]
if (isset($_REQUEST['action']) && ($_REQUEST['action'] == 'login2' || $_REQUEST['action'] == 'logout'))
{
require_once($sourcedir . '/LogInOut.php');
return $_REQUEST['action'] == 'login2' ? 'Login2' : 'Logout';



Sources/Display.php

Código: [Seleccione]
* Software Version:           SMF 1.1.2                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.3                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
'name' => $attachment['filename'],
'downloads' => $attachment['downloads'],
'size' => round($attachment['filesize'] / 1024, 2) . ' ' . $txt['smf211'],
'byte_size' => $attachment['filesize'],
'href' => $scripturl . '?action=dlattach;topic=' . $topic . '.0;attach=' . $attachment['ID_ATTACH'],
'link' => '<a href="' . $scripturl . '?action=dlattach;topic=' . $topic . '.0;attach=' . $attachment['ID_ATTACH'] . '">' . $attachment['filename'] . '</a>',

Código: [Seleccione]
'name' => htmlspecialchars($attachment['filename']),
'downloads' => $attachment['downloads'],
'size' => round($attachment['filesize'] / 1024, 2) . ' ' . $txt['smf211'],
'byte_size' => $attachment['filesize'],
'href' => $scripturl . '?action=dlattach;topic=' . $topic . '.0;attach=' . $attachment['ID_ATTACH'],
'link' => '<a href="' . $scripturl . '?action=dlattach;topic=' . $topic . '.0;attach=' . $attachment['ID_ATTACH'] . '">' . htmlspecialchars($attachment['filename']) . '</a>',



Sources/ManageAttachments.php

Código: [Seleccione]
* Software Version:           SMF 1.1                                             *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
'name' => $row['filename'],
'downloads' => $row['downloads'],
'href' => $row['attachmentType'] == 1 ? $modSettings['custom_avatar_url'] . '/' . $row['filename'] : ($scripturl . '?action=dlattach;' . ($context['browse_type'] == 'avatars' ? 'type=avatar;' : 'topic=' . $row['ID_TOPIC'] . '.0;') . 'id=' . $row['ID_ATTACH']),
'link' => '<a href="' . ($row['attachmentType'] == 1 ? $modSettings['custom_avatar_url'] . '/' . $row['filename'] : ($scripturl . '?action=dlattach;' . ($context['browse_type'] == 'avatars' ? 'type=avatar;' : 'topic=' . $row['ID_TOPIC'] . '.0;') . 'id=' . $row['ID_ATTACH'])) . '"' . (empty($row['width']) || empty($row['height']) ? '' : ' onclick="return reqWin(this.href + \';image\', ' . ($row['width'] + 20) . ', ' . ($row['height'] + 20) . ', true);"') . '>' . $row['filename'] . '</a>'

Código: [Seleccione]
'name' => htmlspecialchars($row['filename']),
'downloads' => $row['downloads'],
'href' => $row['attachmentType'] == 1 ? $modSettings['custom_avatar_url'] . '/' . $row['filename'] : ($scripturl . '?action=dlattach;' . ($context['browse_type'] == 'avatars' ? 'type=avatar;' : 'topic=' . $row['ID_TOPIC'] . '.0;') . 'id=' . $row['ID_ATTACH']),
'link' => '<a href="' . ($row['attachmentType'] == 1 ? $modSettings['custom_avatar_url'] . '/' . $row['filename'] : ($scripturl . '?action=dlattach;' . ($context['browse_type'] == 'avatars' ? 'type=avatar;' : 'topic=' . $row['ID_TOPIC'] . '.0;') . 'id=' . $row['ID_ATTACH'])) . '"' . (empty($row['width']) || empty($row['height']) ? '' : ' onclick="return reqWin(this.href + \';image\', ' . ($row['width'] + 20) . ', ' . ($row['height'] + 20) . ', true);"') . '>' . htmlspecialchars($row['filename']) . '</a>'


Sources/ManageMembergroups.php

Código: [Seleccione]
* Software Version:           SMF 1.1.2                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$_REQUEST['toAdd'] = strtr($func['htmlspecialchars'](stripslashes($_REQUEST['toAdd']), ENT_QUOTES), array('&quot;' => '"'));
Código: [Seleccione]
$_REQUEST['toAdd'] = strtr(addslashes($func['htmlspecialchars'](stripslashes($_REQUEST['toAdd']), ENT_QUOTES)), array('&quot;' => '"'));


source/ManageNews.php

Código: [Seleccione]
* Software Version:           SMF 1.1.3                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$condition = '
Código: [Seleccione]
$condition .= '


source/PersonalMessage.php

Código: [Seleccione]
* Software Version:           SMF 1.1.3                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$userString = strtr($func['htmlspecialchars'](stripslashes($search_params['userspec']), ENT_QUOTES), array('&quot;' => '"'));
Código: [Seleccione]
$userString = strtr(addslashes($func['htmlspecialchars'](stripslashes($search_params['userspec']), ENT_QUOTES)), array('&quot;' => '"'));


source/Post.php

Código: [Seleccione]
* Software Version:           SMF 1.1.3                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$context['preview_subject'] = '<i>' . $txt[24] . '</i>';
Código: [Seleccione]
$context['preview_subject'] = '<i>' . $txt[24] . '</i>';

// Protect any CDATA blocks.
if (isset($_REQUEST['xml']))
$context['preview_message'] = strtr($context['preview_message'], array(']]>' => ']]]]><![CDATA[>'));

Código: [Seleccione]
$context['event']['title'] = isset($_REQUEST['evtitle']) ? $_REQUEST['evtitle'] : '';
Código: [Seleccione]
$context['event']['title'] = isset($_REQUEST['evtitle']) ? htmlspecialchars(stripslashes($_REQUEST['evtitle'])) : '';
Código: [Seleccione]
if (allowedTo('moderate_forum'))
Código: [Seleccione]
if (allowedTo('moderate_forum') && !empty($topic))


source/Profile.php

Código: [Seleccione]
* Software Version:           SMF 1.1.3                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$_POST['new_buddy'] = strtr($func['htmlspecialchars'](stripslashes($_POST['new_buddy']), ENT_QUOTES), array('&quot;' => '"'));
Código: [Seleccione]
$_POST['new_buddy'] = strtr(addslashes($func['htmlspecialchars'](stripslashes($_POST['new_buddy']), ENT_QUOTES)), array('&quot;' => '"'));


source/QueryString.php

Código: [Seleccione]
* Software Version:           SMF 1.1.3                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
foreach (array_merge(array_keys($_REQUEST), array_keys($_FILES)) as $key)
Código: [Seleccione]
foreach (array_merge(array_keys($_POST), array_keys($_GET), array_keys($_FILES)) as $key)
Código: [Seleccione]
$_GET = htmlspecialchars__recursive($_GET);
Código: [Seleccione]
$_GET = addslashes__recursive(htmlspecialchars__recursive($_GET));


source/Search.php

Código: [Seleccione]
* Software Version:           SMF 1.1.2                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$userString = strtr($func['htmlspecialchars'](stripslashes($search_params['userspec']), ENT_QUOTES), array('&quot;' => '"'));
Código: [Seleccione]
$userString = strtr(addslashes($func['htmlspecialchars'](stripslashes($search_params['userspec']), ENT_QUOTES)), array('&quot;' => '"'));


source/Subs-Boards.php

Código: [Seleccione]
* Software Version:           SMF 1.1                                             *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$moderator_string = strtr($func['htmlspecialchars'](stripslashes($boardOptions['moderator_string']), ENT_QUOTES), array('&quot;' => '"'));
Código: [Seleccione]
$moderator_string = strtr(addslashes($func['htmlspecialchars'](stripslashes($boardOptions['moderator_string']), ENT_QUOTES)), array('&quot;' => '"'));


source/Subs-Post.php

Código: [Seleccione]
* Software Version:           SMF 1.1.2                                           *

Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$parts[$i] = preg_replace('~\[([/]?)(list|li|table|tr|td)([^\]]*)\]~e', '"[$1" . strtolower("$2") . "$3]"', $parts[$i]);
Código: [Seleccione]
$parts[$i] = preg_replace('~\[([/]?)(list|li|table|tr|td)([^\]]*)\]~ie', '\'[$1\' . strtolower(\'$2\') . \'$3]\'', $parts[$i]);
Código: [Seleccione]
$headers .= 'Date: ' . gmdate('D, d M Y H:i:s') . ' +0000' . $line_break;
Código: [Seleccione]
$headers .= 'Date: ' . gmdate('D, d M Y H:i:s') . ' -0000' . $line_break;
Código: [Seleccione]
return array($charset, preg_replace('~([\x80-' . ($context['server']['complex_preg_chars'] ? '\x{10FFFF}' : pack('C*', 0xF7, 0xBF, 0xBF, 0xBF)) . '])~eu', '$entityConvert("\1")', $string), '7bit');
Código: [Seleccione]
return array($charset, preg_replace('~([\x80-' . ($context['server']['complex_preg_chars'] ? '\x{10FFFF}' : pack('C*', 0xF7, 0xBF, 0xBF, 0xBF)) . '])~eu', '$entityConvert(\'\1\')', $string), '7bit');
Código: [Seleccione]
if (!is_array($setboards))
Código: [Seleccione]
// Please - let's be sane.
if (empty($setboards))
return false;

if (!is_array($setboards))



source/Subs.php

Código: [Seleccione]
* Software Version:           SMF 1.1.3                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$clean .= '%s';
Código: [Seleccione]
$clean .= ' %s ';
Código: [Seleccione]
elseif (strpos($clean, 'set password') !== false && preg_match('~(^|[^a-z])set password($|[^[a-z])~s', $clean) != 0)
Código: [Seleccione]
elseif (strpos($clean, 'sleep') !== false && preg_match('~(^|[^a-z])sleep($|[^[a-z])~s', $clean) != 0)
Código: [Seleccione]
if ($refresh)
Código: [Seleccione]
if ($refresh && !WIRELESS)
Código: [Seleccione]
elseif (strpos($test, 'invalid option') && !isset($modSettings['host_to_dis']))
Código: [Seleccione]
elseif ((strpos($test, 'invalid option') || strpos($test, 'Invalid query name 1')) && !isset($modSettings['host_to_dis']))

Se tiver alguma dificuldades e fazer procedimento coloque a questão....
Título: 1.1.3 para 1.1.4 Manualmente Upgrade....
Enviado por: candidosa2 em 30 de Dezembro de 2007, 19:55
Passo a passo como Fazer Upgrade Manualmente do Nosso SMF

Começamos do directório Raiz os códigos que vem por cima e para alterar colocar o que vem abaixo dele

/index.php

Código: [Seleccione]
* Software Version:           SMF 1.1.3                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$forum_version = 'SMF 1.1.3';
Código: [Seleccione]
$forum_version = 'SMF 1.1.4';
Código: [Seleccione]
if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'login2')
{
require_once($sourcedir . '/LogInOut.php');
return 'Login2';

Código: [Seleccione]
if (isset($_REQUEST['action']) && ($_REQUEST['action'] == 'login2' || $_REQUEST['action'] == 'logout'))
{
require_once($sourcedir . '/LogInOut.php');
return $_REQUEST['action'] == 'login2' ? 'Login2' : 'Logout';



Sources/Display.php

Código: [Seleccione]
* Software Version:           SMF 1.1.2                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.3                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
'name' => $attachment['filename'],
'downloads' => $attachment['downloads'],
'size' => round($attachment['filesize'] / 1024, 2) . ' ' . $txt['smf211'],
'byte_size' => $attachment['filesize'],
'href' => $scripturl . '?action=dlattach;topic=' . $topic . '.0;attach=' . $attachment['ID_ATTACH'],
'link' => '<a href="' . $scripturl . '?action=dlattach;topic=' . $topic . '.0;attach=' . $attachment['ID_ATTACH'] . '">' . $attachment['filename'] . '</a>',

Código: [Seleccione]
'name' => htmlspecialchars($attachment['filename']),
'downloads' => $attachment['downloads'],
'size' => round($attachment['filesize'] / 1024, 2) . ' ' . $txt['smf211'],
'byte_size' => $attachment['filesize'],
'href' => $scripturl . '?action=dlattach;topic=' . $topic . '.0;attach=' . $attachment['ID_ATTACH'],
'link' => '<a href="' . $scripturl . '?action=dlattach;topic=' . $topic . '.0;attach=' . $attachment['ID_ATTACH'] . '">' . htmlspecialchars($attachment['filename']) . '</a>',



Sources/ManageAttachments.php

Código: [Seleccione]
* Software Version:           SMF 1.1                                             *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
'name' => $row['filename'],
'downloads' => $row['downloads'],
'href' => $row['attachmentType'] == 1 ? $modSettings['custom_avatar_url'] . '/' . $row['filename'] : ($scripturl . '?action=dlattach;' . ($context['browse_type'] == 'avatars' ? 'type=avatar;' : 'topic=' . $row['ID_TOPIC'] . '.0;') . 'id=' . $row['ID_ATTACH']),
'link' => '<a href="' . ($row['attachmentType'] == 1 ? $modSettings['custom_avatar_url'] . '/' . $row['filename'] : ($scripturl . '?action=dlattach;' . ($context['browse_type'] == 'avatars' ? 'type=avatar;' : 'topic=' . $row['ID_TOPIC'] . '.0;') . 'id=' . $row['ID_ATTACH'])) . '"' . (empty($row['width']) || empty($row['height']) ? '' : ' onclick="return reqWin(this.href + \';image\', ' . ($row['width'] + 20) . ', ' . ($row['height'] + 20) . ', true);"') . '>' . $row['filename'] . '</a>'

Código: [Seleccione]
'name' => htmlspecialchars($row['filename']),
'downloads' => $row['downloads'],
'href' => $row['attachmentType'] == 1 ? $modSettings['custom_avatar_url'] . '/' . $row['filename'] : ($scripturl . '?action=dlattach;' . ($context['browse_type'] == 'avatars' ? 'type=avatar;' : 'topic=' . $row['ID_TOPIC'] . '.0;') . 'id=' . $row['ID_ATTACH']),
'link' => '<a href="' . ($row['attachmentType'] == 1 ? $modSettings['custom_avatar_url'] . '/' . $row['filename'] : ($scripturl . '?action=dlattach;' . ($context['browse_type'] == 'avatars' ? 'type=avatar;' : 'topic=' . $row['ID_TOPIC'] . '.0;') . 'id=' . $row['ID_ATTACH'])) . '"' . (empty($row['width']) || empty($row['height']) ? '' : ' onclick="return reqWin(this.href + \';image\', ' . ($row['width'] + 20) . ', ' . ($row['height'] + 20) . ', true);"') . '>' . htmlspecialchars($row['filename']) . '</a>'


Sources/ManageMembergroups.php

Código: [Seleccione]
* Software Version:           SMF 1.1.2                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$_REQUEST['toAdd'] = strtr($func['htmlspecialchars'](stripslashes($_REQUEST['toAdd']), ENT_QUOTES), array('&quot;' => '"'));
Código: [Seleccione]
$_REQUEST['toAdd'] = strtr(addslashes($func['htmlspecialchars'](stripslashes($_REQUEST['toAdd']), ENT_QUOTES)), array('&quot;' => '"'));


source/ManageNews.php

Código: [Seleccione]
* Software Version:           SMF 1.1.3                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$condition = '
Código: [Seleccione]
$condition .= '


source/PersonalMessage.php

Código: [Seleccione]
* Software Version:           SMF 1.1.3                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$userString = strtr($func['htmlspecialchars'](stripslashes($search_params['userspec']), ENT_QUOTES), array('&quot;' => '"'));
Código: [Seleccione]
$userString = strtr(addslashes($func['htmlspecialchars'](stripslashes($search_params['userspec']), ENT_QUOTES)), array('&quot;' => '"'));


source/Post.php

Código: [Seleccione]
* Software Version:           SMF 1.1.3                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$context['preview_subject'] = '<i>' . $txt[24] . '</i>';
Código: [Seleccione]
$context['preview_subject'] = '<i>' . $txt[24] . '</i>';

// Protect any CDATA blocks.
if (isset($_REQUEST['xml']))
$context['preview_message'] = strtr($context['preview_message'], array(']]>' => ']]]]><![CDATA[>'));

Código: [Seleccione]
$context['event']['title'] = isset($_REQUEST['evtitle']) ? $_REQUEST['evtitle'] : '';
Código: [Seleccione]
$context['event']['title'] = isset($_REQUEST['evtitle']) ? htmlspecialchars(stripslashes($_REQUEST['evtitle'])) : '';
Código: [Seleccione]
if (allowedTo('moderate_forum'))
Código: [Seleccione]
if (allowedTo('moderate_forum') && !empty($topic))


source/Profile.php

Código: [Seleccione]
* Software Version:           SMF 1.1.3                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$_POST['new_buddy'] = strtr($func['htmlspecialchars'](stripslashes($_POST['new_buddy']), ENT_QUOTES), array('&quot;' => '"'));
Código: [Seleccione]
$_POST['new_buddy'] = strtr(addslashes($func['htmlspecialchars'](stripslashes($_POST['new_buddy']), ENT_QUOTES)), array('&quot;' => '"'));


source/QueryString.php

Código: [Seleccione]
* Software Version:           SMF 1.1.3                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
foreach (array_merge(array_k€ys($_REQUEST), array_k€ys($_FILES)) as $K€y)
Código: [Seleccione]
foreach (array_merge(array_k€ys($_POST), array_k€ys($_GET), array_k€ys($_FILES)) as $K€y)
Código: [Seleccione]
$_GET = htmlspecialchars__recursive($_GET);
Código: [Seleccione]
$_GET = addslashes__recursive(htmlspecialchars__recursive($_GET));


source/Search.php

Código: [Seleccione]
* Software Version:           SMF 1.1.2                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$userString = strtr($func['htmlspecialchars'](stripslashes($search_params['userspec']), ENT_QUOTES), array('&quot;' => '"'));
Código: [Seleccione]
$userString = strtr(addslashes($func['htmlspecialchars'](stripslashes($search_params['userspec']), ENT_QUOTES)), array('&quot;' => '"'));


source/Subs-Boards.php

Código: [Seleccione]
* Software Version:           SMF 1.1                                             *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$moderator_string = strtr($func['htmlspecialchars'](stripslashes($boardOptions['moderator_string']), ENT_QUOTES), array('&quot;' => '"'));
Código: [Seleccione]
$moderator_string = strtr(addslashes($func['htmlspecialchars'](stripslashes($boardOptions['moderator_string']), ENT_QUOTES)), array('&quot;' => '"'));


source/Subs-Post.php

Código: [Seleccione]
* Software Version:           SMF 1.1.2                                           *

Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$parts[$i] = preg_replace('~\[([/]?)(list|li|table|tr|td)([^\]]*)\]~e', '"[$1" . strtolower("$2") . "$3]"', $parts[$i]);
Código: [Seleccione]
$parts[$i] = preg_replace('~\[([/]?)(list|li|table|tr|td)([^\]]*)\]~ie', '\'[$1\' . strtolower(\'$2\') . \'$3]\'', $parts[$i]);
Código: [Seleccione]
$headers .= 'Date: ' . gmdate('D, d M Y H:i:s') . ' +0000' . $line_break;
Código: [Seleccione]
$headers .= 'Date: ' . gmdate('D, d M Y H:i:s') . ' -0000' . $line_break;
Código: [Seleccione]
return array($charset, preg_replace('~([\x80-' . ($context['server']['complex_preg_chars'] ? '\x{10FFFF}' : pack('C*', 0xF7, 0xBF, 0xBF, 0xBF)) . '])~eu', '$entityConvert("\1")', $string), '7bit');
Código: [Seleccione]
return array($charset, preg_replace('~([\x80-' . ($context['server']['complex_preg_chars'] ? '\x{10FFFF}' : pack('C*', 0xF7, 0xBF, 0xBF, 0xBF)) . '])~eu', '$entityConvert(\'\1\')', $string), '7bit');
Código: [Seleccione]
if (!is_array($setboards))
Código: [Seleccione]
// Please - let's be sane.
if (empty($setboards))
return false;

if (!is_array($setboards))



source/Subs.php

Código: [Seleccione]
* Software Version:           SMF 1.1.3                                           *
Código: [Seleccione]
* Software Version:           SMF 1.1.4                                           *
Código: [Seleccione]
$clean .= '%s';
Código: [Seleccione]
$clean .= ' %s ';
Código: [Seleccione]
elseif (strpos($clean, 'set password') !== false && preg_match('~(^|[^a-z])set password($|[^[a-z])~s', $clean) != 0)
Código: [Seleccione]
elseif (strpos($clean, 'sleep') !== false && preg_match('~(^|[^a-z])sleep($|[^[a-z])~s', $clean) != 0)
Código: [Seleccione]
if ($refresh)
Código: [Seleccione]
if ($refresh && !WIRELESS)
Código: [Seleccione]
elseif (strpos($test, 'invalid option') && !isset($modSettings['host_to_dis']))
Código: [Seleccione]
elseif ((strpos($test, 'invalid option') || strpos($test, 'Invalid query name 1')) && !isset($modSettings['host_to_dis']))

Se tiver alguma dificuldades e fazer procedimento coloque a questão....
Título: Re: 1.1.3 para 1.1.4 Manualmente Upgrade....
Enviado por: aalex em 30 de Dezembro de 2007, 20:51
obrigado amigo pela disponivilidade