Changeset 628 for trunk/index-smarty.php
- Timestamp:
- 12/18/2003 09:36:13 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index-smarty.php
r601 r628 12 12 $blog = 1; 13 13 require_once('wp-blog-header.php'); 14 require_once( $abspath.'wp-links/links.php');15 // not on by default: require_once( $abspath.'wp-links/links.weblogs.com.php');14 require_once(ABSPATH.'wp-links/links.php'); 15 // not on by default: require_once(ABSPATH.'wp-links/links.weblogs.com.php'); 16 16 17 17 define( 'NODISPLAY', false ); 18 18 19 19 $wpsmarty->assign( 'siteurl', $siteurl ); 20 $wpsmarty->assign( 'b2_version', $ b2_version );20 $wpsmarty->assign( 'b2_version', $wp_version ); 21 21 22 22 if($posts) … … 24 24 foreach ($posts as $post) 25 25 { 26 start_ b2();26 start_wp(); 27 27 $content .= $wpsmarty->fetch( 'post.html' ); 28 28 ob_start(); 29 include( $abspath. 'wp-comments.php');29 include(ABSPATH . 'wp-comments.php'); 30 30 $txt = ob_get_contents(); 31 31 ob_end_clean();
Note: See TracChangeset
for help on using the changeset viewer.