Error Warning
[file]: /home/wwwroot/gmx.oniu.vip/v8.0/vendor/oniu/framework/src/App.php
[message]: Class "\com\demo\Sitemap_xml" not found
Stack trace:
Code Segment
312 | $controller = explode(DS, $this->system->controller);
313 | $controller[count($controller) - 1] = ucfirst(end($controller));
314 | $controller = implode('\\', $controller);
316 | $contrlName = "\\com\\{$this->system->appName}\\" . $controller;
318 | $contrl = new $contrlName($this);
320 | $mtd = $this->system->method;
321 | $mtdx = strtolower($mtd);
322 | $mtd = replaces($mtd, ['-' => '_', '.' => '_']);
323 | $arr = ['list', 'case', 'return', 'default', 'file', 'success', 'succ', 'fail', 'interface', 'print', 'submit'];
324 | if (in_array($mtdx, $arr)) {$mtd .= 's';}
325 | $methodName = lcfirst($mtd);
328 | $methodResult = $contrl->$methodName();