[gtk-web] Add debugging to index-fails.php to find out what's failing
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-web] Add debugging to index-fails.php to find out what's failing
- Date: Thu, 2 Jun 2011 11:08:13 +0000 (UTC)
commit 6f3db60306c81ac6484ad821570845d0d61d57a2
Author: Martyn Russell <martyn lanedo com>
Date: Thu Jun 2 12:05:25 2011 +0100
Add debugging to index-fails.php to find out what's failing
index-fails.php | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/index-fails.php b/index-fails.php
index 683d9b7..6f56bbb 100755
--- a/index-fails.php
+++ b/index-fails.php
@@ -8,14 +8,18 @@ ob_start();
<h2>News Feed</h2>
<ul class="newsfeed"><?php
-
-// To use Twitter, replace IDENTICA with TWITTER
+echo '<!-- test 1 -->';
$newsfeed = new GTKNewsFeedLoader(IDENTICA);
+echo '<!-- test 2 -->';
$newsfeed->usecaching = false;
+echo '<!-- test 3 -->';
$items = $newsfeed->load( array( 'count' => 6 ) );
+echo '<!-- test 4 -->';
$first = true;
+echo '<!-- test 5 -->';
if( $newsfeed->iscached ) echo '<!-- This content is cached -->';
+echo '<!-- test 6 -->'
foreach( $items as $item ) {
?>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]