]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Merge pull request #868 from ArthurHoaro/theme/default-as-default
authorArthurHoaro <arthur@hoa.ro>
Wed, 10 May 2017 16:25:56 +0000 (18:25 +0200)
committerGitHub <noreply@github.com>
Wed, 10 May 2017 16:25:56 +0000 (18:25 +0200)
Use the new 'default' theme... as default

index.php
tpl/default/includes.html

index ab1e30da9154c91c610014a93eafff882a7a01d9..468dd091a54d020fb5184c95b4cb8fd398569495 100644 (file)
--- a/index.php
+++ b/index.php
@@ -225,27 +225,6 @@ function setup_login_state($conf)
 }
 $userIsLoggedIn = setup_login_state($conf);
 
-/**
- * PubSubHubbub protocol support (if enabled)  [UNTESTED]
- * (Source: http://aldarone.fr/les-flux-rss-shaarli-et-pubsubhubbub/ )
- *
- * @param ConfigManager $conf Configuration Manager instance.
- */
-function pubsubhub($conf)
-{
-    $pshUrl = $conf->get('config.PUBSUBHUB_URL');
-    if (!empty($pshUrl))
-    {
-        include_once './publisher.php';
-        $p = new Publisher($pshUrl);
-        $topic_url = array (
-            index_url($_SERVER).'?do=atom',
-            index_url($_SERVER).'?do=rss'
-        );
-        $p->publish_update($topic_url);
-    }
-}
-
 // ------------------------------------------------------------------------------------------
 // Session management
 
index 91c6ca3be5ba36087493d84af07e57eb398ebd30..0350ef6681371e7a24263e29c8e29be8d2b5cef7 100644 (file)
@@ -11,7 +11,7 @@
 <link type="text/css" rel="stylesheet" href="css/font-awesome.min.css" />
 <link type="text/css" rel="stylesheet" href="inc/awesomplete.css#" />
 <link type="text/css" rel="stylesheet" href="css/shaarli.css" />
-{if="is_file('inc/user.css')"}
+{if="is_file('data/user.css')"}
   <link type="text/css" rel="stylesheet" href="data/user.css#" />
 {/if}
 {loop="$plugins_includes.css_files"}