diff options
Diffstat (limited to 'admin/schema_inc.php')
| -rw-r--r-- | admin/schema_inc.php | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php new file mode 100644 index 0000000..5c6595e --- /dev/null +++ b/admin/schema_inc.php @@ -0,0 +1,45 @@ +<?php + +global $gBitInstaller; + +$tables = array( + +'tiki_theme_control_objects' => " + obj_id C(250) PRIMARY, + type C(250) NOTNULL, + name C(250) NOTNULL, + theme C(250) NOTNULL +", + +'tiki_theme_control_categs' => " + category_id I4 PRIMARY, + theme C(250) NOTNULL +", + +'tiki_theme_control_objects' => " + obj_id C(250) PRIMARY, + type C(250) NOTNULL, + name C(250) NOTNULL, + theme C(250) NOTNULL +", + +); + +global $gBitInstaller; + +foreach( array_keys( $tables ) AS $tableName ) { + $gBitInstaller->registerSchemaTable( THEMES_PKG_DIR, $tableName, $tables[$tableName], TRUE ); +} + + +$gBitInstaller->registerPackageInfo( THEMES_PKG_NAME, array( + 'description' => "The Themes package is an integral part of bitweaver which allows you to control the look and feel of you site.", + 'license' => '<a href="http://www.gnu.org/licenses/licenses.html#LGPL">LGPL</a>', + 'version' => '0.1', + 'state' => 'beta', + 'dependencies' => '', +) ); + +$gBitInstaller->registerSchemaTable( THEMES_PKG_DIR, '', '', TRUE ); + +?> |
