HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
config.php
Go to the documentation of this file.
1 <?php
2 /* @var Yii2ConfigPanel $this */
3 /* @var array $data */
4 ?>
5 <?php echo $this->render(dirname(__FILE__) . '/_detail.php', array(
6  'caption' => 'Application Configuration',
7  'values' => array(
8  'Yii Version' => $data['application']['yii'],
9  'Application Name' => $data['application']['name'],
10  'Time Zone' => isset($data['application']['timezone']) ? $data['application']['timezone'] : '',
11  'Debug Mode' => $data['application']['debug'] ? 'Yes' : 'No',
12  ),
13 )); ?>
14 <?php if ($this->owner->showConfig): ?>
15 <div>
16  <?php echo CHtml::link('Configuration', array('config'), array('class' => 'btn btn-info')); ?>
17 </div>
18 <?php endif; ?>
19 <?php echo $this->render(dirname(__FILE__) . '/_detail.php', array(
20  'caption' => 'PHP Configuration',
21  'values' => array(
22  'PHP Version' => $data['php']['version'],
23  'Xdebug' => $data['php']['xdebug'] ? 'Enabled' : 'Disabled',
24  'APC' => $data['php']['apc'] ? 'Enabled' : 'Disabled',
25  'Memcache' => $data['php']['memcache'] ? 'Enabled' : 'Disabled',
26  ),
27 )); ?>
28 <div>
29  <?php echo CHtml::link('phpinfo()', array('phpinfo'), array('class' => 'btn btn-info')); ?>
30 </div>