LOG:
PHP Notice: Undefined offset: 1
PHP Notice: Undefined offset: 1
PHP Notice: Undefined offset: 1
PHP Notice: Undefined index:
PHP Notice: Undefined offset:
CODE:
function getValueID($type) {
$ids = $this->cfg['table']['columns']['mc_ID'];
if ( STRLEN($ids[1]) != 1 ) {
return $this->item[$ids[$type]];
} else {
$_ids = explode($ids[1], $this->item[$ids[0]]);
return $_ids[$type];
}
}
function pathImg() {
return $this->cfg['path']['img'][0] . $this->getValueID(0) . ($this->getValueID(1) ? $this->cfg['path']['img'][1] . $this->getValueID(1) : '') . $this->cfg['path']['img'][2];
}
未定义的偏移量:
中的1if ( STRLEN($ids[1]) != 1 ) {
未定义的偏移量:
中的1if ( STRLEN($ids[1]) != 1 ) {
未定义的索引:在
中return $this->item[$ids[$type]];
未定义的偏移量:
中的2return $this->cfg['path']['img'][0] . $this->getValueID(0) . ($this->getValueID(1) ? $this->cfg['path']['img'][1] . $this->getValueID(1) : '') . $this->cfg['path']['img'][2];