Changeset 6505

Show
Ignore:
Timestamp:
08/29/08 14:55:13 (3 months ago)
Author:
p_lindheimer
Message:

make max files for call monitor configurable within main.conf.php, default remains the same

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.5/amp_conf/htdocs/recordings/includes/bootstrap.php

    r4993 r6505  
    9898 */ 
    9999function getFiles($path,$filter,$recursive_max,$recursive_count) { 
     100        global $SETTINGS_MAX_FILES; 
     101        $SETTINGS_MAX_FILES = isset($SETTINGS_MAX_FILES) ? $SETTINGS_MAX_FILES : 3000; 
    100102 
    101103  $files = array(); 
     
    110112 
    111113        $fileCount++; 
    112         if ($fileCount>3000) { 
     114        if ($fileCount>$SETTINGS_MAX_FILES) { 
    113115          $_SESSION['ari_error']  
    114116            .= _("To many files in $msg_path Not all files processed") . "<br>"; 
  • freepbx/branches/2.5/amp_conf/htdocs/recordings/includes/main.conf.php

    r4993 r6505  
    326326$SETTINGS_ALLOW_PHONE_SETTINGS = 1; 
    327327 
    328  
     328
     329# Maximum number of sound files that will be read before an error is generated indicating issues since 
     330# too many files can be create problems but on some systems this may need to be increased. 
     331
     332$SETTINGS_MAX_FILES=3000; 
    329333 
    330334?> 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads