📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv11.demodesign.com.tr
/
catalog
/
controller
/
journal3
📝
journal3.php
← Geri Dön
<?php use Journal3\Opencart\Controller; use Journal3\Utils\Arr; use Journal3\Utils\Img; class ControllerJournal3Journal3 extends Controller { public function image_tools() { try { if (!function_exists('exec')) { throw new \Exception('exec function is not enabled!'); } if (in_array(strtolower(ini_get('safe_mode')), array('on', '1'), true)) { throw new \Exception('safe_mode is on'); } $disabled_functions = explode(',', ini_get('disable_functions')); if (in_array('exec', $disabled_functions)) { throw new \Exception('exec function is in disable_functions'); } $this->renderJson(self::SUCCESS, Img::canOptimise()); } catch (\Exception $e) { $this->renderJson(self::SUCCESS, array( 'error' => $e->getMessage(), )); } } public function device_detect() { try { $device = $this->input(self::POST, 'device'); $session_device = Arr::get($this->session->data, 'j3_device'); $reload = false; if ($device !== $session_device) { $this->session->data['j3_device'] = $device; $reload = true; } $this->renderJson(self::SUCCESS, array( 'device' => $device, 'reload' => $reload, )); } catch (\Exception $e) { $this->renderJson(self::SUCCESS, array( 'error' => $e->getMessage(), )); } } }
💾 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