Project

General

Profile

« Previous | Next » 

Revision 873

Added by thorn over 15 years ago

news: added PAGE_SPACER to $page_title (creates e.g. title-32.php instead of title32.php)

View differences:

save_post.php
63 63
require(WB_PATH.'/framework/functions.php');
64 64

  
65 65
// Work-out what the link should be
66
$post_link = '/posts/'.page_filename($title).$post_id;
66
$post_link = '/posts/'.page_filename($title).PAGE_SPACER.$post_id;
67 67

  
68 68
// Make sure the post link is set and exists
69 69
// Make news post access files dir

Also available in: Unified diff