관리-도구
편집 파일: e107_config.php
<?php /* * e107 website system * * Copyright (C) 2008-2023 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * * e107 configuration file * * This file has been generated by the installation script on [[r_date]]. */ $mySQLserver = '[[softdbhost]]'; $mySQLuser = '[[softdbuser]]'; $mySQLpassword = '[[softdbpass]]'; $mySQLdefaultdb = '[[softdb]]'; $mySQLprefix = '[[dbprefix]]'; $mySQLcharset = 'utf8'; $ADMIN_DIRECTORY = 'e107_admin/'; $FILES_DIRECTORY = 'e107_files/'; $IMAGES_DIRECTORY = 'e107_images/'; $THEMES_DIRECTORY = 'e107_themes/'; $PLUGINS_DIRECTORY = 'e107_plugins/'; $HANDLERS_DIRECTORY = 'e107_handlers/'; $LANGUAGES_DIRECTORY = 'e107_languages/'; $HELP_DIRECTORY = 'e107_docs/help/'; $MEDIA_DIRECTORY = 'e107_media/'; $SYSTEM_DIRECTORY = 'e107_system/'; $E107_CONFIG = ['site_path' => '[[site_path]]']; // -- Optional -- // define('e_EMAIL_CRITICAL', '[[admin_email]]'); // email the admin (and share no details with the user) if a critical error occurs. // define('e_LOG_CRITICAL', true); // log critical errors but do not display them to user. (similar to above, but no email is sent - instead error goes into a log file) // define('e_DEBUG', true); // Enable debug mode to allow displaying of errors // define('e_HTTP_STATIC', 'https://static.mydomain.com/'); // Use a static subdomain for js/css/images etc. // define('e_MOD_REWRITE_STATIC', true); // Rewrite static image urls. // define('e_GIT', 'path-to-git'); // Path to GIT for developers // define('X-FRAME-SAMEORIGIN', false); // Option to override X-Frame-Options // define('e_PDO, true); // Enable PDO mode (used in PHP > 7 and when mysql_* methods are not available)