Feature #14127 » 0000036-class.tslib_fe-bug-36.diff
class.tslib_fe.php 8 Mar 2005 15:01:10 -0000 | ||
---|---|---|
$parts = explode('.',$fI['file']);
|
||
$pCount = count($parts);
|
||
if ($pCount>2) {
|
||
$this->type = intval($parts[$pCount-2]);
|
||
$this->id = $parts[$pCount-3];
|
||
if(!$this->type) $this->type = intval($parts[$pCount-2]);
|
||
if(!$this->id) $this->id = $parts[$pCount-3];
|
||
} else {
|
||
$this->type = 0;
|
||
$this->id = $parts[0];
|
||
if(!$this->type) $this->type = 0;
|
||
if(!$this->id) $this->id = $parts[0];
|
||
}
|
||
}
|
||
}
|