Thread: ProKreedz 2.31
View Single Post
a412010
Member
Join Date: Oct 2008
Location: Taipei, Taiwan
Old 08-18-2012 , 20:47   Re: ProKreedz 2.31
Reply With Quote #879

I've solved that issue...just add codes to lower all characters. You can type UPPER or LOWER mapname which you like and still get the same result!
Test:
http://114.34.144.27/kztop/map.php

In function.php, get_record section:
Code:
$dane = explode(" ", $line);
$r[$dane[0]]['time'] = $dane[1];
$r[$dane[0]]['nick'] = $dane[2];
$r[$dane[0]]['country'] = $dane[3];
-->
Code:
$dane = explode(" ", $line);
$amap = strtolower($dane[0]);
$r[$amap]['time'] = $dane[1];
$r[$amap]['nick'] = $dane[2];
$r[$amap]['country'] = $dane[3];
and in pro15.php and pronub15.php:
replace
Code:
$wr[$_GET['map']]
$cc[$_GET['map']]
to
Code:
$wr[strtolower($_GET['map'])]
$cc[strtolower($_GET['map'])]

Last edited by a412010; 08-18-2012 at 20:54.
a412010 is offline