✏️ 正在编辑: index.php
路径:
/var/www/sistemayuppie.com.br/contemax/public/index.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php // Define path to application directory defined('APPLICATION_PATH') || define('APPLICATION_PATH', '/srv/systems_dir/contemax/application'); defined('CLIENT_PATH') || define('CLIENT_PATH', '/srv/systems_dir/contemax'); defined('PUBLIC_PATH') || define('PUBLIC_PATH', realpath(dirname(__FILE__) . '/')); require_once APPLICATION_PATH . '/configs/functions.php'; // Define application environment defined('APPLICATION_ENV') || define('APPLICATION_ENV', (isset($_REQUEST['APPLICATION_ENV']) && $_REQUEST['APPLICATION_ENV']) ? $_REQUEST['APPLICATION_ENV'] : (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production')); // Ensure library/ is on include_path set_include_path(implode(PATH_SEPARATOR, array( realpath(APPLICATION_PATH . '/../library'), get_include_path(), ))); /** Zend_Application */ require_once 'Zend/Application.php'; // Create application, bootstrap, and run $application = new Zend_Application( APPLICATION_ENV, array( 'config' => array( APPLICATION_PATH . '/configs/application.ini', APPLICATION_PATH . '/configs/routes.php', APPLICATION_PATH . '/configs/navigation.php', ) ) ); $application->bootstrap() ->run();
💾 保存文件
← 返回文件管理器