diff options
| -rw-r--r-- | BitArticle.php | 8 | ||||
| -rw-r--r-- | admin/schema_inc.php | 6 |
2 files changed, 9 insertions, 5 deletions
diff --git a/BitArticle.php b/BitArticle.php index 9b552a7..8e8b2c2 100644 --- a/BitArticle.php +++ b/BitArticle.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_articles/BitArticle.php,v 1.158 2010/04/04 17:15:58 lsces Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_articles/BitArticle.php,v 1.159 2010/04/17 22:46:07 wjames5 Exp $ * @package articles * * Copyright( c )2004 bitweaver.org @@ -9,14 +9,14 @@ * All Rights Reserved. See below for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details * - * $Id: BitArticle.php,v 1.158 2010/04/04 17:15:58 lsces Exp $ + * $Id: BitArticle.php,v 1.159 2010/04/17 22:46:07 wjames5 Exp $ * * Article class is used when accessing BitArticles. It is based on TikiSample * and builds on core bitweaver functionality, such as the Liberty CMS engine. * * created 2004/8/15 * @author wolffy <wolff_borg@yahoo.com.au> - * @version $Revision: 1.158 $ $Date: 2010/04/04 17:15:58 $ $Author: lsces $ + * @version $Revision: 1.159 $ $Date: 2010/04/17 22:46:07 $ $Author: wjames5 $ */ /** @@ -52,7 +52,7 @@ class BitArticle extends LibertyMime { $this->registerContentType( BITARTICLE_CONTENT_TYPE_GUID, array( 'content_type_guid' => BITARTICLE_CONTENT_TYPE_GUID, - 'content_description' => 'Article', + 'content_name' => 'Article', 'handler_class' => 'BitArticle', 'handler_package' => 'articles', 'handler_file' => 'BitArticle.php', diff --git a/admin/schema_inc.php b/admin/schema_inc.php index 5c88cea..373827b 100644 --- a/admin/schema_inc.php +++ b/admin/schema_inc.php @@ -137,4 +137,8 @@ if( defined( 'RSS_PKG_NAME' )) { $gBitInstaller->registerContentObjects( ARTICLES_PKG_NAME, array( 'BitArticle'=>ARTICLES_PKG_PATH.'BitArticle.php', )); -?> + +// Requirements +$gBitInstaller->registerRequirements( ARTICLES_PKG_NAME, array( + 'liberty' => array( 'min' => '2.1.4' ), +)); |
