⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sysinfo_directory.php

📁 Joomla!是一套获得过多个奖项的内容管理系统(Content Management System, CMS)。Joomla!采用PHP+MySQL数据库开发
💻 PHP
字号:
<?php/** * @version		$Id: sysinfo_directory.php 11613 2009-02-07 13:41:23Z kdevine $ */// No direct accessdefined('_JEXEC') or die('Restricted access');jimport('joomla.filesystem.folder');$cparams = JComponentHelper::getParams ('com_media');$config =& JFactory::getConfig();?><fieldset class="adminform">	<legend><?php echo JText::_( 'Directory Permissions' ); ?></legend>		<table class="adminlist">		<thead>			<tr>				<th width="650">					<?php echo JText::_( 'Directory' ); ?>				</th>				<th>					<?php echo JText::_( 'Status' ); ?>				</th>			</tr>		</thead>		<tfoot>			<tr>				<td colspan="2">					&nbsp;				</td>			</tr>		</tfoot>		<tbody>			<?php			writableCell( 'administrator/backups' );			writableCell( 'administrator/components' );			writableCell( 'administrator/language' );			// List all admin languages			$admin_langs = JFolder::folders(JPATH_ADMINISTRATOR.DS.'language');			foreach ($admin_langs as $alang)			{				writableCell( 'administrator/language/'.$alang );			}			writableCell( 'administrator/modules' );			writableCell( 'administrator/templates' );			writableCell( 'components' );			writableCell( 'images' );			writableCell( 'images/banners' );			writableCell( $cparams->get('image_path'));			writableCell( 'language' );			// List all site languages			$site_langs	= JFolder::folders(JPATH_SITE.DS.'language');			foreach ($site_langs as $slang)			{				writableCell( 'language/'.$slang );			}			writableCell( 'media' );			writableCell( 'modules' );			writableCell( 'plugins' );			writableCell( 'plugins/content' );			writableCell( 'plugins/editors' );			writableCell( 'plugins/editors-xtd' );			writableCell( 'plugins/search' );			writableCell( 'plugins/system' );			writableCell( 'plugins/user' );			writableCell( 'plugins/xmlrpc' );			writableCell( 'templates' );			writableCell( JPATH_SITE.DS.'cache', 0, '<strong>'. JText::_( 'Cache Directory' ) .'</strong> ' );			writableCell( JPATH_ADMINISTRATOR.DS.'cache', 0, '<strong>'. JText::_( 'Cache Directory' ) .'</strong> ' );			writableCell( $config->getValue('config.log_path', JPATH_ROOT.DS.'log'),0, '<strong>'. JText::_( 'Log Directory' ) .							' ($log_path)</strong> ');			writableCell( $config->getValue('config.tmp_path', JPATH_ROOT.DS.'tmp'),0, '<strong>'. JText::_( 'Temp Directory' ) .							' ($tmp_path)</strong> ');			?>		</tbody>		</table></fieldset>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -