Added version
This commit is contained in:
parent
ab19aaa4f2
commit
1f9f0a42e7
|
|
@ -42,6 +42,7 @@
|
||||||
*/
|
*/
|
||||||
Configure::write('debug', 0);
|
Configure::write('debug', 0);
|
||||||
|
|
||||||
|
Configure::write('version', '0.95');
|
||||||
|
|
||||||
$host = $_SERVER['HTTP_HOST'];
|
$host = $_SERVER['HTTP_HOST'];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
<?php echo $title_for_layout; ?>
|
<?php echo $title_for_layout; ?>
|
||||||
</title>
|
</title>
|
||||||
<?php
|
<?php
|
||||||
$debugLevel = Configure::read('debug');
|
$debugLevel = Configure::read('debug');
|
||||||
|
|
||||||
if ($debugLevel > 0) {
|
if ($debugLevel > 0) {
|
||||||
echo $html->meta('favicon.ico', '/img/core.png', array('type' => 'icon'));
|
echo $html->meta('favicon.ico', '/img/core.png', array('type' => 'icon'));
|
||||||
|
|
@ -177,11 +177,7 @@ endif;
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<?php
|
Powered by CMC-Sales v<?= Configure::read('version'); ?> by <a href="mailto:karl@cordes.com.au">Karl Cordes</a>
|
||||||
echo $html->link(
|
|
||||||
$html->image('cake.power.gif', array('alt' => __("CakePHP: the rapid development php framework", true), 'border' => "0")), 'http://www.cakephp.org/', array('target' => '_new'), null, false
|
|
||||||
);
|
|
||||||
?>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue