uawdijnntqw1x1x1
IP : 3.12.150.151
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
public_html
/
0d544
/
..
/
..
/
.trash
/
catalog.1
/
controller
/
.
/
.
/
startup
/
api.php
/
/
<?php namespace Opencart\Catalog\Controller\Startup; class Api extends \Opencart\System\Engine\Controller { public function index(): void { $this->load->language('api/login'); $json = []; if (isset($this->request->get['route'])) { $route = (string)$this->request->get['route']; } else { $route = ''; } if (substr($route, 0, 4) == 'api/') { // Remove any method call for checking ignore pages. $pos = strrpos($route, '|'); if ($pos !== false) { $route = substr($this->request->get['route'], 0, $pos); } if ($route !== 'api/login' && !isset($this->session->data['api_id'])) { $json['error'] = $this->language->get('error_permission'); } } $this->response->addHeader('Content-Type: application/json'); $this->response->setOutput(json_encode($json)); } }
/home/sudancam/public_html/0d544/../../.trash/catalog.1/controller/././startup/api.php