diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2008-05-10 21:50:37 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2008-05-10 21:50:37 +0000 |
| commit | 49010c0e8452fb7884e5aac3219d85ab9227dc76 (patch) | |
| tree | 08793e9ec4af2d38e7c3ec6bfbd460d8a6482eb4 /bit_setup_inc.php | |
| parent | ac9e8cd590a300285edb5d6d560a8723711ca458 (diff) | |
| download | themes-49010c0e8452fb7884e5aac3219d85ab9227dc76.tar.gz themes-49010c0e8452fb7884e5aac3219d85ab9227dc76.tar.bz2 themes-49010c0e8452fb7884e5aac3219d85ab9227dc76.zip | |
SCHEMA CHANGE: added liberty_attachment_prefs to store attachment preferences
introducing a new layer on top LibertyAttachments to deal with file uploads supporting mimetype based plugins - ported from treasury
Diffstat (limited to 'bit_setup_inc.php')
| -rw-r--r-- | bit_setup_inc.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bit_setup_inc.php b/bit_setup_inc.php index 35c870e..3f85d73 100644 --- a/bit_setup_inc.php +++ b/bit_setup_inc.php @@ -48,4 +48,9 @@ if( $gBitSystem->isFeatureActive( 'site_fancy_zoom' )) { $gBitThemes->loadJavascript( UTIL_PKG_PATH.'javascript/fancyzoom/js-global/FancyZoomHTML.js', TRUE, 81 ); $gBitSystem->setOnloadScript( 'setupZoom();' ); } + +// if the datafile plugin is active, we need to load the js file since we don't know where the plugin is being used +if( $gLibertySystem->isPluginActive( 'dataattachment' )) { + $gBitThemes->loadJavascript( UTIL_PKG_PATH."javascript/flv_player/swfobject.js", FALSE, 25 ); +} ?> |
