framework/Mvc/Extensions/Ckfinder/lib/core/connector/php/php5/Utils/FileSystem.php
public static function sendFile( $filePath ){
      $config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config");
      if ( $config->getXSendfile() ){
        CKFinder_Connector_Utils_FileSystem::sendWithXSendfile($filePath);
      } else {
        CKFinder_Connector_Utils_FileSystem::readfileChunked($filePath);
      }
    }
public static function sendFile( $filePath ){
      $config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config");
      if ( $config->getXSendfile() ){
        CKFinder_Connector_Utils_FileSystem::sendWithXSendfile($filePath);
      } else {
        CKFinder_Connector_Utils_FileSystem::readfileChunked($filePath);
      }
    }
public static function sendFile ( $ filePath ) { $ config = & CKFinder_Connector_Core_Factory :: getInstance ( "Core_Config" ) ; if ( $ config -> getXSendfile ( ) ) { CKFinder_Connector_Utils_FileSystem :: sendWithXSendfile ( $ filePath ) ; } else { CKFinder_Connector_Utils_FileSystem :: readfileChunked ( $ filePath ) ; } }
Send file to browser
Selects the method depending on the XSendfile setting
@param string $filePath
Send file to browser Selects the method depending on the XSendfile setting