Файловый менеджер - Редактировать - /home/wuectly/www/03cbe/sysinfo.tar
Назад
view.text.php 0000604 00000010271 15246327324 0007217 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_admin * * @copyright (C) 2015 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Sysinfo View class for the Admin component * * @since 3.5 */ class AdminViewSysinfo extends JViewLegacy { /** * Execute and display a template script. * * @param string $tpl The name of the template file to parse; automatically searches through the template paths. * * @return mixed A string if successful, otherwise an Error object. * * @since 3.5 */ public function display($tpl = null) { // Access check. if (!JFactory::getUser()->authorise('core.admin')) { throw new JAccessExceptionNotallowed(JText::_('JERROR_ALERTNOAUTHOR'), 403); } header('Content-Type: text/plain; charset=utf-8'); header('Content-Description: File Transfer'); header('Content-Disposition: attachment; filename="systeminfo-' . date('c') . '.txt"'); header('Cache-Control: must-revalidate'); $data = $this->getLayoutData(); $lines = array(); foreach ($data as $sectionName => $section) { $customRenderingMethod = 'render' . ucfirst($sectionName); if (method_exists($this, $customRenderingMethod)) { $lines[] = $this->$customRenderingMethod($section['title'], $section['data']); } else { $lines[] = $this->renderSection($section['title'], $section['data']); } } echo str_replace(JPATH_ROOT, 'xxxxxx', implode("\n\n", $lines)); JFactory::getApplication()->close(); } /** * Get the data for the view * * @return array * * @since 3.5 */ protected function getLayoutData() { $model = $this->getModel(); return array( 'info' => array( 'title' => JText::_('COM_ADMIN_SYSTEM_INFORMATION', true), 'data' => $model->getSafeData('info') ), 'phpSettings' => array( 'title' => JText::_('COM_ADMIN_PHP_SETTINGS', true), 'data' => $model->getSafeData('phpSettings') ), 'config' => array( 'title' => JText::_('COM_ADMIN_CONFIGURATION_FILE', true), 'data' => $model->getSafeData('config') ), 'directories' => array( 'title' => JText::_('COM_ADMIN_DIRECTORY_PERMISSIONS', true), 'data' => $model->getSafeData('directory', true) ), 'phpInfo' => array( 'title' => JText::_('COM_ADMIN_PHP_INFORMATION', true), 'data' => $model->getSafeData('phpInfoArray') ), 'extensions' => array( 'title' => JText::_('COM_ADMIN_EXTENSIONS', true), 'data' => $model->getSafeData('extensions') ) ); } /** * Render a section * * @param string $sectionName Name of the section to render * @param array $sectionData Data of the section to render * @param integer $level Depth level for indentation * * @return string * * @since 3.5 */ protected function renderSection($sectionName, $sectionData, $level = 0) { $lines = array(); $margin = ($level > 0) ? str_repeat("\t", $level) : null; $lines[] = $margin . '============='; $lines[] = $margin . $sectionName; $lines[] = $margin . '============='; $level++; foreach ($sectionData as $name => $value) { if (is_array($value)) { if ($name == 'Directive') { continue; } $lines[] = ''; $lines[] = $this->renderSection($name, $value, $level); } else { if (is_bool($value)) { $value = $value ? 'true' : 'false'; } if (is_int($name) && ($name == 0 || $name == 1)) { $name = ($name == 0 ? 'Local Value' : 'Master Value'); } $lines[] = $margin . $name . ': ' . $value; } } return implode("\n", $lines); } /** * Specific rendering for directories * * @param string $sectionName Name of the section * @param array $sectionData Directories information * @param integer $level Starting level * * @return string * * @since 3.5 */ protected function renderDirectories($sectionName, $sectionData, $level = -1) { foreach ($sectionData as $directory => $data) { $sectionData[$directory] = $data['writable'] ? ' writable' : ' NOT writable'; } return $this->renderSection($sectionName, $sectionData, $level); } } view.html.php 0000604 00000005304 15246327324 0007200 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_admin * * @copyright (C) 2008 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Sysinfo View class for the Admin component * * @since 1.6 */ class AdminViewSysinfo extends JViewLegacy { /** * Some PHP settings * * @var array * @since 1.6 */ protected $php_settings = array(); /** * Config values * * @var array * @since 1.6 */ protected $config = array(); /** * Some system values * * @var array * @since 1.6 */ protected $info = array(); /** * PHP info * * @var string * @since 1.6 */ protected $php_info = null; /** * Information about writable state of directories * * @var array * @since 1.6 */ protected $directory = array(); /** * Execute and display a template script. * * @param string $tpl The name of the template file to parse; automatically searches through the template paths. * * @return mixed A string if successful, otherwise an Error object. * * @since 1.6 */ public function display($tpl = null) { // Access check. if (!JFactory::getUser()->authorise('core.admin')) { throw new JAccessExceptionNotallowed(JText::_('JERROR_ALERTNOAUTHOR'), 403); } $this->php_settings = $this->get('PhpSettings'); $this->config = $this->get('config'); $this->info = $this->get('info'); $this->php_info = $this->get('PhpInfo'); $this->directory = $this->get('directory'); $this->addToolbar(); $this->_setSubMenu(); return parent::display($tpl); } /** * Setup the SubMenu * * @return void * * @since 1.6 * @note Necessary for Hathor compatibility * @deprecated 4.0 To be removed with Hathor */ protected function _setSubMenu() { try { $contents = $this->loadTemplate('navigation'); $document = JFactory::getDocument(); $document->setBuffer($contents, 'modules', 'submenu'); } catch (Exception $e) { } } /** * Setup the Toolbar * * @return void * * @since 1.6 */ protected function addToolbar() { JToolbarHelper::title(JText::_('COM_ADMIN_SYSTEM_INFORMATION'), 'info-2 systeminfo'); JToolbarHelper::link( JRoute::_('index.php?option=com_admin&view=sysinfo&format=text&' . JSession::getFormToken() . '=1'), 'COM_ADMIN_DOWNLOAD_SYSTEM_INFORMATION_TEXT', 'download' ); JToolbarHelper::link( JRoute::_('index.php?option=com_admin&view=sysinfo&format=json&' . JSession::getFormToken() . '=1'), 'COM_ADMIN_DOWNLOAD_SYSTEM_INFORMATION_JSON', 'download' ); JToolbarHelper::help('JHELP_SITE_SYSTEM_INFORMATION'); } } tmpl/default.php 0000604 00000003531 15246327324 0007663 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_admin * * @copyright (C) 2008 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; // Add specific helper files for html generation JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html'); ?> <form action="<?php echo JRoute::_('index.php?option=com_admin&view=sysinfo'); ?>" method="post" name="adminForm" id="adminForm"> <div class="row-fluid"> <!-- Begin Content --> <div class="span12"> <?php echo JHtml::_('bootstrap.startTabSet', 'myTab', array('active' => 'site')); ?> <?php echo JHtml::_('bootstrap.addTab', 'myTab', 'site', JText::_('COM_ADMIN_SYSTEM_INFORMATION')); ?> <?php echo $this->loadTemplate('system'); ?> <?php echo JHtml::_('bootstrap.endTab'); ?> <?php echo JHtml::_('bootstrap.addTab', 'myTab', 'phpsettings', JText::_('COM_ADMIN_PHP_SETTINGS')); ?> <?php echo $this->loadTemplate('phpsettings'); ?> <?php echo JHtml::_('bootstrap.endTab'); ?> <?php echo JHtml::_('bootstrap.addTab', 'myTab', 'config', JText::_('COM_ADMIN_CONFIGURATION_FILE')); ?> <?php echo $this->loadTemplate('config'); ?> <?php echo JHtml::_('bootstrap.endTab'); ?> <?php echo JHtml::_('bootstrap.addTab', 'myTab', 'directory', JText::_('COM_ADMIN_DIRECTORY_PERMISSIONS')); ?> <?php echo $this->loadTemplate('directory'); ?> <?php echo JHtml::_('bootstrap.endTab'); ?> <?php echo JHtml::_('bootstrap.addTab', 'myTab', 'phpinfo', JText::_('COM_ADMIN_PHP_INFORMATION')); ?> <?php echo $this->loadTemplate('phpinfo'); ?> <?php echo JHtml::_('bootstrap.endTab'); ?> <?php echo JHtml::_('bootstrap.endTabSet'); ?> </div> <input type="hidden" name="task" value="" /> <?php echo JHtml::_('form.token'); ?> <!-- End Content --> </div> </form> tmpl/default.xml 0000604 00000000314 15246327324 0007670 0 ustar 00 <?xml version="1.0" encoding="utf-8"?> <metadata> <layout title="COM_ADMIN_SYSINFO_VIEW_DEFAULT_TITLE"> <message> <![CDATA[COM_ADMIN_SYSINFO_VIEW_DEFAULT_DESC]]> </message> </layout> </metadata> tmpl/default_phpsettings.php 0000604 00000010006 15246327324 0012306 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_admin * * @copyright (C) 2008 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <fieldset class="adminform"> <legend><?php echo JText::_('COM_ADMIN_RELEVANT_PHP_SETTINGS'); ?></legend> <table class="table table-striped"> <thead> <tr> <th width="250"> <?php echo JText::_('COM_ADMIN_SETTING'); ?> </th> <th> <?php echo JText::_('COM_ADMIN_VALUE'); ?> </th> </tr> </thead> <tfoot> <tr> <td colspan="2">  </td> </tr> </tfoot> <tbody> <tr> <td> <?php echo JText::_('COM_ADMIN_SAFE_MODE'); ?> </td> <td> <?php echo JHtml::_('phpsetting.boolean', $this->php_settings['safe_mode']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_OPEN_BASEDIR'); ?> </td> <td> <?php echo JHtml::_('phpsetting.string', $this->php_settings['open_basedir']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_DISPLAY_ERRORS'); ?> </td> <td> <?php echo JHtml::_('phpsetting.boolean', $this->php_settings['display_errors']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_SHORT_OPEN_TAGS'); ?> </td> <td> <?php echo JHtml::_('phpsetting.boolean', $this->php_settings['short_open_tag']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_FILE_UPLOADS'); ?> </td> <td> <?php echo JHtml::_('phpsetting.boolean', $this->php_settings['file_uploads']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_MAGIC_QUOTES'); ?> </td> <td> <?php echo JHtml::_('phpsetting.boolean', $this->php_settings['magic_quotes_gpc']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_REGISTER_GLOBALS'); ?> </td> <td> <?php echo JHtml::_('phpsetting.boolean', $this->php_settings['register_globals']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_OUTPUT_BUFFERING'); ?> </td> <td> <?php echo JHtml::_('phpsetting.boolean', $this->php_settings['output_buffering']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_SESSION_SAVE_PATH'); ?> </td> <td> <?php echo JHtml::_('phpsetting.string', $this->php_settings['session.save_path']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_SESSION_AUTO_START'); ?> </td> <td> <?php echo JHtml::_('phpsetting.integer', $this->php_settings['session.auto_start']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_XML_ENABLED'); ?> </td> <td> <?php echo JHtml::_('phpsetting.set', $this->php_settings['xml']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_ZLIB_ENABLED'); ?> </td> <td> <?php echo JHtml::_('phpsetting.set', $this->php_settings['zlib']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_ZIP_ENABLED'); ?> </td> <td> <?php echo JHtml::_('phpsetting.set', $this->php_settings['zip']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_DISABLED_FUNCTIONS'); ?> </td> <td class="break-word"> <?php echo JHtml::_('phpsetting.string', $this->php_settings['disable_functions']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_MBSTRING_ENABLED'); ?> </td> <td> <?php echo JHtml::_('phpsetting.set', $this->php_settings['mbstring']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_ICONV_AVAILABLE'); ?> </td> <td> <?php echo JHtml::_('phpsetting.set', $this->php_settings['iconv']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_MAX_INPUT_VARS'); ?> </td> <td> <?php echo JHtml::_('phpsetting.integer', $this->php_settings['max_input_vars']); ?> </td> </tr> </tbody> </table> </fieldset> tmpl/default_phpinfo.php 0000604 00000000631 15246327324 0011404 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_admin * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <fieldset class="adminform"> <legend><?php echo JText::_('COM_ADMIN_PHP_INFORMATION'); ?></legend> <?php echo $this->php_info; ?> </fieldset> tmpl/default_directory.php 0000604 00000001747 15246327324 0011756 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_admin * * @copyright (C) 2008 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <fieldset class="adminform"> <legend><?php echo JText::_('COM_ADMIN_DIRECTORY_PERMISSIONS'); ?></legend> <table class="table table-striped"> <thead> <tr> <th width="650"> <?php echo JText::_('COM_ADMIN_DIRECTORY'); ?> </th> <th> <?php echo JText::_('COM_ADMIN_STATUS'); ?> </th> </tr> </thead> <tfoot> <tr> <td colspan="2"> </td> </tr> </tfoot> <tbody> <?php foreach ($this->directory as $dir => $info) : ?> <tr> <td> <?php echo JHtml::_('directory.message', $dir, $info['message']); ?> </td> <td> <?php echo JHtml::_('directory.writable', $info['writable']); ?> </td> </tr> <?php endforeach; ?> </tbody> </table> </fieldset> tmpl/default_system.php 0000604 00000005226 15246327324 0011272 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_admin * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <fieldset class="adminform"> <legend><?php echo JText::_('COM_ADMIN_SYSTEM_INFORMATION'); ?></legend> <table class="table table-striped"> <thead> <tr> <th width="25%"> <?php echo JText::_('COM_ADMIN_SETTING'); ?> </th> <th> <?php echo JText::_('COM_ADMIN_VALUE'); ?> </th> </tr> </thead> <tfoot> <tr> <td colspan="2"> </td> </tr> </tfoot> <tbody> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_PHP_BUILT_ON'); ?></strong> </td> <td> <?php echo $this->info['php']; ?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_DATABASE_TYPE'); ?></strong> </td> <td> <?php echo $this->info['dbserver']; ?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_DATABASE_VERSION'); ?></strong> </td> <td> <?php echo $this->info['dbversion']; ?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_DATABASE_COLLATION'); ?></strong> </td> <td> <?php echo $this->info['dbcollation']; ?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_DATABASE_CONNECTION_COLLATION'); ?></strong> </td> <td> <?php echo $this->info['dbconnectioncollation']; ?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_PHP_VERSION'); ?></strong> </td> <td> <?php echo $this->info['phpversion']; ?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_WEB_SERVER'); ?></strong> </td> <td> <?php echo JHtml::_('system.server', $this->info['server']); ?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_WEBSERVER_TO_PHP_INTERFACE'); ?></strong> </td> <td> <?php echo $this->info['sapi_name']; ?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_JOOMLA_VERSION'); ?></strong> </td> <td> <?php echo $this->info['version']; ?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_PLATFORM_VERSION'); ?></strong> </td> <td> <?php echo $this->info['platform']; ?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_USER_AGENT'); ?></strong> </td> <td> <?php echo htmlspecialchars($this->info['useragent'], ENT_COMPAT, 'UTF-8'); ?> </td> </tr> </tbody> </table> </fieldset> tmpl/default_config.php 0000604 00000001641 15246327324 0011210 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_admin * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <fieldset class="adminform"> <legend><?php echo JText::_('COM_ADMIN_CONFIGURATION_FILE'); ?></legend> <table class="table table-striped"> <thead> <tr> <th width="300"> <?php echo JText::_('COM_ADMIN_SETTING'); ?> </th> <th> <?php echo JText::_('COM_ADMIN_VALUE'); ?> </th> </tr> </thead> <tfoot> <tr> <td colspan="2"> </td> </tr> </tfoot> <tbody> <?php foreach ($this->config as $key => $value) : ?> <tr> <td> <?php echo $key; ?> </td> <td> <?php echo htmlspecialchars($value, ENT_QUOTES); ?> </td> </tr> <?php endforeach; ?> </tbody> </table> </fieldset> view.json.php 0000604 00000003144 15246327324 0007205 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_admin * * @copyright (C) 2015 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Sysinfo View class for the Admin component * * @since 3.5 */ class AdminViewSysinfo extends JViewLegacy { /** * Execute and display a template script. * * @param string $tpl The name of the template file to parse; automatically searches through the template paths. * * @return mixed A string if successful, otherwise an Error object. * * @since 3.5 */ public function display($tpl = null) { // Access check. if (!JFactory::getUser()->authorise('core.admin')) { throw new JAccessExceptionNotallowed(JText::_('JERROR_ALERTNOAUTHOR'), 403); } header('MIME-Version: 1.0'); header('Content-Disposition: attachment; filename="systeminfo-' . date('c') . '.json"'); header('Content-Transfer-Encoding: binary'); $data = $this->getLayoutData(); echo json_encode($data); JFactory::getApplication()->close(); } /** * Get the data for the view * * @return array * * @since 3.5 */ protected function getLayoutData() { $model = $this->getModel(); return array( 'info' => $model->getSafeData('info'), 'phpSettings' => $model->getSafeData('phpSettings'), 'config' => $model->getSafeData('config'), 'directories' => $model->getSafeData('directory', true), 'phpInfo' => $model->getSafeData('phpInfoArray'), 'extensions' => $model->getSafeData('extensions') ); } } default.php 0000604 00000002675 15246347065 0006723 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; // Add specific helper files for html generation JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html'); // Load switcher behavior JHtml::_('behavior.switcher'); ?> <form action="<?php echo JRoute::_('index.php'); ?>" method="post" name="adminForm" id="adminForm"> <div id="config-document"> <div id="page-site" class="tab"> <div class="noshow"> <div class="width-100"> <?php echo $this->loadTemplate('system'); ?> </div> </div> </div> <div id="page-phpsettings" class="tab"> <div class="noshow"> <div class="width-60"> <?php echo $this->loadTemplate('phpsettings'); ?> </div> </div> </div> <div id="page-config" class="tab"> <div class="noshow"> <div class="width-60"> <?php echo $this->loadTemplate('config'); ?> </div> </div> </div> <div id="page-directory" class="tab"> <div class="noshow"> <div class="width-60"> <?php echo $this->loadTemplate('directory'); ?> </div> </div> </div> <div id="page-phpinfo" class="tab"> <div class="noshow"> <div class="width-100"> <?php echo $this->loadTemplate('phpinfo'); ?> </div> </div> </div> </div> <div class="clr"></div> </form> default_directory.php 0000604 00000001731 15246347065 0010777 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <fieldset class="adminform"> <legend><?php echo JText::_('COM_ADMIN_DIRECTORY_PERMISSIONS'); ?></legend> <table class="adminlist"> <thead> <tr> <th width="650"> <?php echo JText::_('COM_ADMIN_DIRECTORY'); ?> </th> <th> <?php echo JText::_('COM_ADMIN_STATUS'); ?> </th> </tr> </thead> <tfoot> <tr> <td colspan="2"> </td> </tr> </tfoot> <tbody> <?php foreach ($this->directory as $dir => $info) : ?> <tr> <td> <?php echo JHtml::_('directory.message', $dir, $info['message']);?> </td> <td> <?php echo JHtml::_('directory.writable', $info['writable']);?> </td> </tr> <?php endforeach; ?> </tbody> </table> </fieldset> default_phpsettings.php 0000604 00000007445 15246347065 0011353 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <fieldset class="adminform"> <legend><?php echo JText::_('COM_ADMIN_RELEVANT_PHP_SETTINGS'); ?></legend> <table class="adminlist"> <thead> <tr> <th width="250"> <?php echo JText::_('COM_ADMIN_SETTING'); ?> </th> <th> <?php echo JText::_('COM_ADMIN_VALUE'); ?> </th> </tr> </thead> <tfoot> <tr> <td colspan="2">  </td> </tr> </tfoot> <tbody> <tr> <td> <?php echo JText::_('COM_ADMIN_SAFE_MODE'); ?> </td> <td> <?php echo JHtml::_('phpsetting.boolean', $this->php_settings['safe_mode']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_OPEN_BASEDIR'); ?> </td> <td> <?php echo JHtml::_('phpsetting.string', $this->php_settings['open_basedir']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_DISPLAY_ERRORS'); ?> </td> <td> <?php echo JHtml::_('phpsetting.boolean', $this->php_settings['display_errors']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_SHORT_OPEN_TAGS'); ?> </td> <td> <?php echo JHtml::_('phpsetting.boolean', $this->php_settings['short_open_tag']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_FILE_UPLOADS'); ?> </td> <td> <?php echo JHtml::_('phpsetting.boolean', $this->php_settings['file_uploads']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_MAGIC_QUOTES'); ?> </td> <td> <?php echo JHtml::_('phpsetting.boolean', $this->php_settings['magic_quotes_gpc']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_REGISTER_GLOBALS'); ?> </td> <td> <?php echo JHtml::_('phpsetting.boolean', $this->php_settings['register_globals']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_OUTPUT_BUFFERING'); ?> </td> <td> <?php echo JHtml::_('phpsetting.boolean', $this->php_settings['output_buffering']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_SESSION_SAVE_PATH'); ?> </td> <td> <?php echo JHtml::_('phpsetting.string', $this->php_settings['session.save_path']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_SESSION_AUTO_START'); ?> </td> <td> <?php echo JHtml::_('phpsetting.integer', $this->php_settings['session.auto_start']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_XML_ENABLED'); ?> </td> <td> <?php echo JHtml::_('phpsetting.set', $this->php_settings['xml']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_ZLIB_ENABLED'); ?> </td> <td> <?php echo JHtml::_('phpsetting.set', $this->php_settings['zlib']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_ZIP_ENABLED'); ?> </td> <td> <?php echo JHtml::_('phpsetting.set', $this->php_settings['zip']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_DISABLED_FUNCTIONS'); ?> </td> <td> <?php echo JHtml::_('phpsetting.string', $this->php_settings['disable_functions']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_MBSTRING_ENABLED'); ?> </td> <td> <?php echo JHtml::_('phpsetting.set', $this->php_settings['mbstring']); ?> </td> </tr> <tr> <td> <?php echo JText::_('COM_ADMIN_ICONV_AVAILABLE'); ?> </td> <td> <?php echo JHtml::_('phpsetting.set', $this->php_settings['iconv']); ?> </td> </tr> </tbody> </table> </fieldset> default_config.php 0000604 00000001620 15246347065 0010235 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <fieldset class="adminform"> <legend><?php echo JText::_('COM_ADMIN_CONFIGURATION_FILE'); ?></legend> <table class="adminlist"> <thead> <tr> <th width="300"> <?php echo JText::_('COM_ADMIN_SETTING'); ?> </th> <th> <?php echo JText::_('COM_ADMIN_VALUE'); ?> </th> </tr> </thead> <tfoot> <tr> <td colspan="2"> </td> </tr> </tfoot> <tbody> <?php foreach ($this->config as $key => $value):?> <tr> <td> <?php echo $key;?> </td> <td> <?php echo htmlspecialchars($value, ENT_QUOTES);?> </td> </tr> <?php endforeach;?> </tbody> </table> </fieldset> default_system.php 0000604 00000004360 15246347065 0010320 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <fieldset class="adminform"> <legend><?php echo JText::_('COM_ADMIN_SYSTEM_INFORMATION'); ?></legend> <table class="adminlist"> <thead> <tr> <th width="250"> <?php echo JText::_('COM_ADMIN_SETTING'); ?> </th> <th> <?php echo JText::_('COM_ADMIN_VALUE'); ?> </th> </tr> </thead> <tfoot> <tr> <td colspan="2">  </td> </tr> </tfoot> <tbody> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_PHP_BUILT_ON'); ?></strong> </td> <td> <?php echo $this->info['php'];?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_DATABASE_VERSION'); ?></strong> </td> <td> <?php echo $this->info['dbversion'];?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_DATABASE_COLLATION'); ?></strong> </td> <td> <?php echo $this->info['dbcollation'];?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_PHP_VERSION'); ?></strong> </td> <td> <?php echo $this->info['phpversion'];?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_WEB_SERVER'); ?></strong> </td> <td> <?php echo JHtml::_('system.server', $this->info['server']); ?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_WEBSERVER_TO_PHP_INTERFACE'); ?></strong> </td> <td> <?php echo $this->info['sapi_name'];?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_JOOMLA_VERSION'); ?></strong> </td> <td> <?php echo $this->info['version'];?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_PLATFORM_VERSION'); ?></strong> </td> <td> <?php echo $this->info['platform'];?> </td> </tr> <tr> <td> <strong><?php echo JText::_('COM_ADMIN_USER_AGENT'); ?></strong> </td> <td> <?php echo $this->info['useragent'];?> </td> </tr> </tbody> </table> </fieldset> default_navigation.php 0000604 00000002257 15246347065 0011136 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <div id="submenu-box"> <div class="submenu-box"> <div class="submenu-pad"> <ul id="submenu" class="information nav nav-list"> <li> <a href="#" onclick="return false;" id="site" class="active"> <?php echo JText::_('COM_ADMIN_SYSTEM_INFORMATION'); ?></a> </li> <li> <a href="#" onclick="return false;" id="phpsettings"> <?php echo JText::_('COM_ADMIN_PHP_SETTINGS'); ?></a> </li> <li> <a href="#" onclick="return false;" id="config"> <?php echo JText::_('COM_ADMIN_CONFIGURATION_FILE'); ?></a> </li> <li> <a href="#" onclick="return false;" id="directory"> <?php echo JText::_('COM_ADMIN_DIRECTORY_PERMISSIONS'); ?></a> </li> <li> <a href="#" onclick="return false;" id="phpinfo"> <?php echo JText::_('COM_ADMIN_PHP_INFORMATION'); ?></a> </li> </ul> <div class="clr"></div> </div> </div> <div class="clr"></div> </div>
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка