📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv11.demodesign.com.tr
/
catalog
/
controller
/
startup
📝
maintenance.php
← Geri Dön
<?php class ControllerStartupMaintenance extends Controller { public function index() { if ($this->config->get('config_maintenance')) { // 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'); } $ignore = array( 'common/language/language', 'common/currency/currency' ); // Show site if logged in as admin $this->user = new Cart\User($this->registry); if ((substr($route, 0, 17) != 'extension/payment' && substr($route, 0, 3) != 'api') && !in_array($route, $ignore) && !$this->user->isLogged()) { return new Action('common/maintenance'); } } } }
💾 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