Different FavIcon for dev copies

This commit is contained in:
Karl Cordes 2011-06-28 10:13:31 +10:00
parent 4c27ffc516
commit 0c22cb2206
5 changed files with 16 additions and 8 deletions

View file

@ -1,10 +1,8 @@
<?
<?php
class Industry extends AppModel {
var $name = 'Industry';
var $hasAndBelongsToMany = array (
'Customer' => array(
'className' => 'Customer',

View file

@ -1,4 +1,5 @@
<? /* Quotenik 1.2 - Default Layout. Some Markup from CakePHP Default */?>
<?php
/* Quotenik 1.2 - Default Layout. Some Markup from CakePHP Default */?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@ -9,8 +10,18 @@
<?php __('CMC'); ?>
<?php echo $title_for_layout; ?>
</title>
<? echo $html->meta('icon'); ?>
<?php
<?php
$debugLevel = Configure::read('debug');
if($debugLevel > 0) {
echo $html->meta('favicon.ico','/img/core.png', array('type'=>'icon'));
}
else {
echo $html->meta('icon');
}
echo $html->css('quotenik');
echo $html->css('jquery-ui.custom.css');
@ -21,7 +32,6 @@
echo $javascript->link('jquery-ui');
echo $javascript->link('jquery.form');
//echo $javascript->link('jquery.validate.min');
echo $javascript->link('menu');
echo $javascript->link('global');
echo $javascript->link('search');

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 B

View file

@ -92,4 +92,4 @@
if (Configure::read() > 0) {
echo "<!-- " . round(getMicrotime() - $TIME_START, 4) . "s -->";
}
?>
?>