HomeHelpTrac

Ignore:
Timestamp:
05/15/09 03:29:42 (3 years ago)
Author:
Alexander Levitskiy
Message:

video admin bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/6.1.5/ray/modules/global/inc/content.inc.php

    r10475 r10524  
    8282    require($sModulesPath . $sModule . "/inc/constants.inc.php"); 
    8383 
    84     $sHolder = $aInfo['mode'] == "as3" ? "holder_as3.swf" : "holder.swf"; 
    85     if(isset($aModules[$sApp]['holder'])) $sHolder = $aModules[$sApp]['holder'] . ".swf"; 
    86     $sHolder = $sModulesUrl . GLOBAL_MODULE . "/app/" . $sHolder; 
     84    if(isset($aModules[$sApp]['holder'])) $sHolder = $aModules[$sApp]['holder']; 
     85    else $sHolder = $sModulesUrl . GLOBAL_MODULE . "/app/" . ($aInfo['mode'] == "as3" ? "holder_as3.swf" : "holder.swf"); 
    8786     
    8887    $iWidth = getSettingValue($sModule, $sApp . "_width"); 
Note: See TracChangeset for help on using the changeset viewer.