This commit is contained in:
parent
c94de60c29
commit
4d150c2fe3
|
@ -5,7 +5,8 @@ class Program {
|
||||||
$path = trim($path);
|
$path = trim($path);
|
||||||
string $str, $temp;
|
string $str, $temp;
|
||||||
char $char;
|
char $char;
|
||||||
for(int $x = 0; $char = $path[$x]; $x++) {
|
for(int $x = 0; $x < strlen($path); $x++) {
|
||||||
|
$char = $path[$x];
|
||||||
if(!strstr('/', $char)) $temp += $char;
|
if(!strstr('/', $char)) $temp += $char;
|
||||||
else if($temp) {
|
else if($temp) {
|
||||||
$str += $temp;
|
$str += $temp;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user