public
Description: The ultra-lightweight ultra-flexible blogging engine with a fetish for birds and misspellings.
Homepage: http://chyrp.net/
Clone URL: git://github.com/vito/chyrp.git
Click here to lend your support to: chyrp and make a donation at www.pledgie.com !
File requiring tweaks. [#259 state:resolved]
vito (author)
Fri Nov 07 13:50:38 -0800 2008
commit  f3a55fb7ef39aa2ba886eceeed6faf5c95ef6072
tree    7d95358c7ecf5b8f7f45d61390776ab4dbe05138
parent  ced29d0f1d87fb1916a85d9c5a2bfd4a75e3257c
...
630
631
632
633
 
634
635
636
...
630
631
632
 
633
634
635
636
0
@@ -630,7 +630,7 @@
0
                 if (strtotime($post->created_at) > $latest_timestamp)
0
                     $latest_timestamp = strtotime($post->created_at);
0
 
0
-            require "includes/feed.php";
0
+            require INCLUDES_DIR."/feed.php";
0
         }
0
 
0
         /**
...
598
599
600
601
602
 
603
604
605
...
598
599
600
 
 
601
602
603
604
0
@@ -598,8 +598,7 @@
0
     function send_pingbacks($string, $post) {
0
         foreach (grab_urls($string) as $url)
0
             if ($ping_url = pingback_url($url)) {
0
-                if (!class_exists("IXR_Client"))
0
-                    require INCLUDES_DIR."/lib/ixr.php";
0
+                require_once INCLUDES_DIR."/lib/ixr.php";
0
 
0
                 $client = new IXR_Client($ping_url);
0
                 $client->timeout = 3;
...
5
6
7
8
9
 
 
10
11
12
...
5
6
7
 
 
8
9
10
11
12
0
@@ -5,8 +5,8 @@
0
      */
0
 
0
     define('XML_RPC', true);
0
-    require 'common.php';
0
-    require INCLUDES_DIR.'/lib/ixr.php';
0
+    require_once 'common.php';
0
+    require_once INCLUDES_DIR.'/lib/ixr.php';
0
     if (!defined('XML_RPC_FEATHER')) define('XML_RPC_FEATHER', 'text');
0
 
0
     #

Comments