✏️ 正在编辑: index.php
路径:
/srv/systems_dir/koruspay/public/index.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php function pr($array, $die=false) { echo '<pre>'; print_r($array); echo '<pre>'; if ($die) die; } function vd($array, $die = false) { Zend_Debug::dump($array); if ($die) die; } // Define path to application directory defined('APPLICATION_PATH') || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application')); defined('PUBLIC_PATH') || define('PUBLIC_PATH', realpath(dirname(__FILE__) . '/')); defined('CLIENT_PATH') || define('CLIENT_PATH', realpath(dirname(__FILE__) . '/../application')); // Define application environment defined('APPLICATION_ENV') || define('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'), realpath('/opt/ZendFramework-1.12.20'), realpath('/var/www/html/Zend'), realpath('/var/www/html/yuppielib/library'), get_include_path(), ))); /** Zend_Application */ require_once 'Zend/Application.php'; // Create application, bootstrap, and run $application = new Zend_Application( APPLICATION_ENV, [ 'config' => [ APPLICATION_PATH . '/configs/routes.php', APPLICATION_PATH . '/configs/application.ini' ] ] ); $application->bootstrap() ->run();
💾 保存文件
← 返回文件管理器