Added version

This commit is contained in:
Karl Cordes 2013-04-04 19:45:33 +11:00
parent ab19aaa4f2
commit 1f9f0a42e7
2 changed files with 126 additions and 129 deletions

View file

@ -42,6 +42,7 @@
*/
Configure::write('debug', 0);
Configure::write('version', '0.95');
$host = $_SERVER['HTTP_HOST'];

View file

@ -8,7 +8,7 @@
<?php echo $title_for_layout; ?>
</title>
<?php
$debugLevel = Configure::read('debug');
$debugLevel = Configure::read('debug');
if ($debugLevel > 0) {
echo $html->meta('favicon.ico', '/img/core.png', array('type' => 'icon'));
@ -177,11 +177,7 @@ endif;
</div>
<div id="footer">
<?php
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
);
?>
Powered by CMC-Sales v<?= Configure::read('version'); ?> by <a href="mailto:karl@cordes.com.au">Karl Cordes</a>
</div>
</div>