summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2008-02-26 15:41:03 +0000
committerwjames5 <will@tekimaki.com>2008-02-26 15:41:03 +0000
commit36eee2c6ed6ac9aa1b51e6178b57460033812237 (patch)
tree2c386f48e89a2b0f358cdc7aaa0308b9bb6b4d07 /admin
parent5471314059af1af0a9c9e542ecd22bb78f670afc (diff)
downloadblogs-36eee2c6ed6ac9aa1b51e6178b57460033812237.tar.gz
blogs-36eee2c6ed6ac9aa1b51e6178b57460033812237.tar.bz2
blogs-36eee2c6ed6ac9aa1b51e6178b57460033812237.zip
register content types on install. many packages are updated with this, but more need updating
Diffstat (limited to 'admin')
-rw-r--r--admin/schema_inc.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index 7a60e43..2abe9b6 100644
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -118,4 +118,10 @@ if(defined('RSS_PKG_NAME')) {
));
}
+// ### Register content types
+$gBitInstaller->registerContentObjects( BLOGS_PKG_NAME, array(
+ 'BitBlog'=>BLOGS_PKG_PATH.'BitBlog.php',
+ 'BitBlogPost'=>BLOGS_PKG_PATH.'BitBlogPost.php'
+));
+
?>