External parameter for favicon.ico

This commit is contained in:
llebegue 2015-01-27 21:22:17 +01:00
parent a7f0100d42
commit 2ae3d05606
3 changed files with 11 additions and 9 deletions

View File

@ -50,7 +50,6 @@ class QvitterPlugin extends Plugin {
// THESE SETTINGS CAN BE OVERRIDDEN IN CONFIG.PHP
// e.g. $config['site']['qvitter']['enabledbydefault'] = 'false';
// ENABLED BY DEFAULT (true/false)
$settings['enabledbydefault'] = true;
@ -60,6 +59,8 @@ class QvitterPlugin extends Plugin {
// DEFAULT BACKGROUND IMAGE
$settings['sitebackground'] = 'img/vagnsmossen.jpg';
// DEFAULT FAVICON
$settings['favicon'] = 'img/favicon.ico?v=4';
// DEFAULT LINK COLOR
$settings['defaultlinkcolor'] = '#0084B4';

View File

@ -54,6 +54,7 @@ $config['site']['qvitter']['timebetweenpolling'] = 5000;
$config['site']['qvitter']['urlshortenerapiurl'] = 'http://qttr.at/yourls-api.php';
$config['site']['qvitter']['urlshortenersignature'] = 'b6afeec983';
$config['site']['qvitter']['sitebackground'] = 'img/vagnsmossen.jpg';
$config['site']['qvitter']['favicon'] = 'img/favicon.ico?v=4';
$config['thumbnail']['maxsize'] = 3000;
````

View File

@ -105,7 +105,7 @@ class QvitterAction extends ApiAction
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
<link rel="stylesheet" type="text/css" href="<?php print $qvitterpath; ?>css/qvitter.css?changed=<?php print date('YmdHis',filemtime(QVITTERDIR.'/css/qvitter.css')); ?>" />
<link rel="stylesheet" type="text/css" href="<?php print $qvitterpath; ?>css/jquery.minicolors.css" />
<link rel="shortcut icon" type="image/x-icon" href="<?php print $qvitterpath; ?>/img/favicon.ico?v=4">
<link rel="shortcut icon" type="image/x-icon" href="<?php print $qvitterpath; ?><?php print QvitterPlugin::settings("favicon"); ?>">
<?php
// if qvitter is a webapp and this is a users url we add feeds