📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv11.demodesign.com.tr
/
catalog
/
controller
/
startup
📝
router.php
← Geri Dön
<?php class ControllerStartupRouter extends Controller { public function index() { // Route if (isset($this->request->get['route']) && $this->request->get['route'] != 'startup/router') { $route = $this->request->get['route']; } else { $route = $this->config->get('action_default'); } // Sanitize the call $route = preg_replace('/[^a-zA-Z0-9_\/]/', '', (string)$route); // Trigger the pre events $result = $this->event->trigger('controller/' . $route . '/before', array(&$route, &$data)); if (!is_null($result)) { return $result; } // We dont want to use the loader class as it would make an controller callable. $action = new Action($route); // Any output needs to be another Action object. $output = $action->execute($this->registry); // Trigger the post events $result = $this->event->trigger('controller/' . $route . '/after', array(&$route, &$data, &$output)); if (!is_null($result)) { return $result; } return $output; } }
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula