summaryrefslogtreecommitdiff
path: root/plugins/mime.flash.php
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2011-02-15 00:42:59 -0500
committerspiderr <spider@viovio.com>2011-02-15 00:42:59 -0500
commit7d72e26fe95080f81e52fc8592bd196fd815f097 (patch)
treef87b79f7c77aa80f0354cc30d0ea8b6164b84d33 /plugins/mime.flash.php
parent58089d92c666df0ecfd234b26ad04f24d42c5953 (diff)
downloadliberty-7d72e26fe95080f81e52fc8592bd196fd815f097.tar.gz
liberty-7d72e26fe95080f81e52fc8592bd196fd815f097.tar.bz2
liberty-7d72e26fe95080f81e52fc8592bd196fd815f097.zip
overhaul storing of complete storage_url int liberty_files, and only use the stored file name. compute everything else when needed.
Diffstat (limited to 'plugins/mime.flash.php')
-rw-r--r--plugins/mime.flash.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mime.flash.php b/plugins/mime.flash.php
index 6c8b497..a21b778 100644
--- a/plugins/mime.flash.php
+++ b/plugins/mime.flash.php
@@ -101,7 +101,7 @@ function mime_flash_store_preferences( &$pFileHash ) {
$ret = FALSE;
if( @BitBase::verifyId( $pFileHash['attachment_id'] )) {
- list( $pFileHash['preferences']['width'], $pFileHash['preferences']['height'], $type, $attr) = getimagesize( BIT_ROOT_PATH.$pFileHash['upload']['dest_path'].$pFileHash['upload']['name'] );
+ list( $pFileHash['preferences']['width'], $pFileHash['preferences']['height'], $type, $attr) = getimagesize( STORAGE_PKG_PATH.$pFileHash['upload']['dest_path'].$pFileHash['upload']['name'] );
// store width of video
if( !empty( $pFileHash['preferences']['width'] )) {