Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Favicon support #7

Closed
jeroenrnl opened this issue Jul 16, 2012 · 0 comments
Closed

Favicon support #7

jeroenrnl opened this issue Jul 16, 2012 · 0 comments
Assignees
Milestone

Comments

@jeroenrnl
Copy link
Owner

@ToniN created a patch to add favicon support:

diff -Naur php/config.inc.php new/config.inc.php
--- php/config.inc.php  2008-06-03 12:49:04.000000000 +0200
+++ new/config.inc.php  2008-06-07 14:44:25.103575495 +0200
@@ -28,6 +28,9 @@
     define('CSS_SHEET', 'css.php');
     define('ICONSET', 'default');

+    // Favorite's icon
+    define('FAVICON', 'photos.ico');
+
     define('USE_IMAGE_SERVICE', 1);
     define('IMAGE_DIR', "/data/images/");
     // Only needed when imaga service is off:
diff -Naur php/header.inc.php new/header.inc.php
--- php/header.inc.php  2008-05-26 15:17:48.000000000 +0200
+++ new/header.inc.php  2008-06-07 14:42:11.365613078 +0200
@@ -21,6 +21,11 @@
 ?>
 <link type="text/css" rel="stylesheet" href="<?php echo CSS_SHEET ?>">
 <?php
+    if(FAVICON) {
+?>
+<link rel="shortcut icon" type="image/x-icon" href="<?php echo FAVICON ?>">
+<?php
+    }
     if(JAVASCRIPT) {
 ?>
 <script type="text/javascript" src="js/util.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant