✏️ 正在编辑: Config.php
路径:
/srv/systems_dir/yuppiecred/application/services/Config.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php class Service_Config { /** @var string */ private const CONFIG_PATH = "/configs/application.ini"; /** @var Zend_Config */ private $config; public function __construct() { try { $this->config = (new Zend_Config_Ini(CLIENT_PATH . self::CONFIG_PATH))->production; } catch (Throwable $throwable) { $this->config = null; } } /** * @return Zend_Config|null */ public function get(): ?Zend_Config { return $this->config; } }
💾 保存文件
← 返回文件管理器