--- a/includes/pageprocess.php Mon Jul 07 02:46:44 2008 -0400
+++ b/includes/pageprocess.php Mon Jul 07 02:47:20 2008 -0400
@@ -354,6 +354,7 @@
// Something sent content, so we'll assume the page exist...ed at least according to the plugin
if ( $this->namespace != 'Special' && $this->namespace != 'Admin' && $do_stats )
{
+ require_once(ENANO_ROOT.'/includes/stats.php');
doStats($this->page_id, $this->namespace);
}
}
@@ -863,6 +864,9 @@
if ( !$q )
$db->_die();
+ // Update the cache
+ $paths->update_metadata_cache();
+
return array(
'success' => true
);