From 76dd5c256289d1c5676ceb57d5d7cd8e8924d46c Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sun, 21 Mar 2004 07:46:13 +0000 Subject: [PATCH] File not being used currently. git-svn-id: http://svn.automattic.com/wordpress/trunk@983 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- index-smarty.php | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 index-smarty.php diff --git a/index-smarty.php b/index-smarty.php deleted file mode 100644 index 7b07936161..0000000000 --- a/index-smarty.php +++ /dev/null @@ -1,44 +0,0 @@ -template_dir = './wp-blogs/main/templates'; -$wpsmarty->compile_dir = './wp-blogs/main/templates_c'; -$wpsmarty->cache_dir = './wp-blogs/main/smartycache'; -$wpsmarty->plugin_dir = './wp-plugins'; -require_once( 'wp-includes/class-smarty.php' ); -$blog = 1; -require_once('wp-blog-header.php'); -// not on by default: require_once(ABSPATH.'wp-links/links.weblogs.com.php'); - -define( 'NODISPLAY', false ); - -$wpsmarty->assign( 'siteurl', get_settings('siteurl') ); -$wpsmarty->assign( 'b2_version', $wp_version ); - -if($posts) -{ - foreach ($posts as $post) - { - start_wp(); - $content .= $wpsmarty->fetch( 'post.html' ); - ob_start(); - include(ABSPATH . 'wp-comments.php'); - $txt = ob_get_contents(); - ob_end_clean(); - $content .= $txt; - } -} -else -{ - $content = 'No posts made'; -} - -$wpsmarty->assign( 'content', $content ); -$wpsmarty->display( 'top.html' ); - -$wpsmarty->display( 'end.html' ); - -?>