Gönderen Konu: Smf "PHPSESSID" hatasını kaldırma  (Okunma sayısı 7440 defa)

danua

  • Yönetici
  • Kıdemli Üye
  • *****
  • İleti: 311
  • Karma 65535
Smf "PHPSESSID" hatasını kaldırma
« : 26 Kasım 2018, 17:31:34 »
Smf "PHPSESSID" hatasını kaldırma

Sources/QueryString.php
Bul
Kod: [Seç]
if (empty($_COOKIE) && SID != '' && empty($context['browser']['possibly_robot']) && @version_compare(PHP_VERSION, '4.3.0') != -1)
$buffer = preg_replace('/"' . preg_quote($scripturl, '/') . '(?!\?' . preg_quote(SID, '/') . ')\\??/', '"' . $scripturl . '?' . SID . '&', $buffer);
// Debugging templates, are we?
elseif (isset($_GET['debug']))
$buffer = preg_replace('/(?<!<link rel="canonical" href=)"' . preg_quote($scripturl, '/') . '\\??/', '"' . $scripturl . '?debug;', $buffer);

Değiştir
Kod: [Seç]
if (empty($_COOKIE) && SID != '' && empty($context['browser']['possibly_robot']) && @version_compare(PHP_VERSION, '4.3.0') != -1){
//$buffer = preg_replace('/"' . preg_quote($scripturl, '/') . '(?!\?' . preg_quote(SID, '/') . ')\\??/', '"' . $scripturl . '?' . SID . '&amp;', $buffer);
// Debugging templates, are we?
}elseif (isset($_GET['debug'])){
$buffer = preg_replace('/(?<!<link rel="canonical" href=)"' . preg_quote($scripturl, '/') . '\\??/', '"' . $scripturl . '?debug;', $buffer);
}

Linkback: Smf "PHPSESSID" hatasını kaldırma
𐱅𐰇𐰼𐰚

Sitelerim
:::::::::::::::::::
telkaricim.com

Tags: