관리-도구
편집 파일: application_bottom.php
<?php /** * @copyright Copyright 2003-2022 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: lat9 2022 Jul 07 Modified in v1.5.8-alpha $ */ if (!defined('IS_ADMIN_FLAG')) { die('Illegal Access'); } // @todo icwtodo Development debug code // do not remove for now if (defined('DEV_SHOW_APPLICATION_BOTTOM_DEBUG') && DEV_SHOW_APPLICATION_BOTTOM_DEBUG == true) { $langLoaded = $languageLoader->getLanguageFilesLoaded(); echo '$langLoaded = ' . str_replace("\n", '<br>', var_export($langLoaded, true)); $files = get_included_files(); $langFiles = []; $pattern = DIR_WS_LANGUAGES; foreach ($files as $file) { $shortFile = str_replace(["\\", DIR_FS_CATALOG], ['/', ''], $file); if (in_array($shortFile, $langLoaded['legacy']) || in_array($file, $langLoaded['legacy'])) { continue; } if (in_array($shortFile, $langLoaded['arrays']) || in_array($file, $langLoaded['arrays'])) { continue; } if (strpos($shortFile, $pattern) === 0) { $langFiles[] = $file; } } } // close session (store variables) session_write_close();