diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-12-04 19:16:06 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-12-04 19:16:06 +0000 |
| commit | ae8214780b6352b7172c6953e1d55a3f02f3dc2e (patch) | |
| tree | c1efd19e6b2e0f028fb6ea3e2ee011bd01deeb6f /admin | |
| parent | 7781af9b8f3c28abb97ffe44ef5f430f15cc9673 (diff) | |
| download | articles-ae8214780b6352b7172c6953e1d55a3f02f3dc2e.tar.gz articles-ae8214780b6352b7172c6953e1d55a3f02f3dc2e.tar.bz2 articles-ae8214780b6352b7172c6953e1d55a3f02f3dc2e.zip | |
fix article constants to make installation in renamed articles/ dir possible
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/schema_inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php index d9fbab6..950cda4 100644 --- a/admin/schema_inc.php +++ b/admin/schema_inc.php @@ -63,7 +63,7 @@ foreach( array_keys( $tables ) AS $tableName ) { $gBitInstaller->registerSchemaTable( ARTICLES_PKG_NAME, $tableName, $tables[$tableName] ); } -$gBitInstaller->registerPackageInfo( ARTICLES_PKG_DIR, array( +$gBitInstaller->registerPackageInfo( ARTICLES_PKG_NAME, array( 'description' => "This package manages news articles to create a slashdot-like news site.", 'license' => '<a href="http://www.gnu.org/licenses/licenses.html#LGPL">LGPL</a>', ) ); @@ -79,9 +79,9 @@ $gBitInstaller->registerSchemaSequences( ARTICLES_PKG_NAME, $sequences ); // $indices = array(); -// $gBitInstaller->registerSchemaIndexes( ARTICLES_PKG_DIR, $indices ); +// $gBitInstaller->registerSchemaIndexes( ARTICLES_PKG_NAME, $indices ); -$gBitInstaller->registerSchemaDefault( ARTICLES_PKG_DIR, array( +$gBitInstaller->registerSchemaDefault( ARTICLES_PKG_NAME, array( "INSERT INTO `".BIT_DB_PREFIX."article_types` (`article_type_id`, `type_name`) VALUES (1, 'Article')", "INSERT INTO `".BIT_DB_PREFIX."article_types` (`article_type_id`, `type_name`, `use_ratings`) VALUES (2, 'Review','y')", "INSERT INTO `".BIT_DB_PREFIX."article_types` (`article_type_id`, `type_name`, `show_post_expire`) VALUES (3, 'Event','n')", |
