���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/tie.cx/app/controllers/Sitemap.php
���ѧ٧ѧ�
<?php namespace Altum\Controllers; class Sitemap extends Controller { public function index() { /* Set the header as xml so the browser can read it properly */ header('Content-Type: text/xml'); /* Get all custom pages from the database */ $links_result = database()->query("SELECT `url` FROM `links` WHERE `is_enabled` = 1 AND `domain_id` = 0"); /* Get all custom pages from the database */ $pages_result = database()->query("SELECT `url` FROM `pages` WHERE `type` = 'INTERNAL'"); /* Main View */ $data = [ 'pages_result' => $pages_result, 'links_result' => $links_result ]; $view = new \Altum\Views\View('sitemap/index', (array) $this); echo $view->run($data); die(); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 1.9 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�