Changeset 6505
- Timestamp:
- 08/29/08 14:55:13 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.5/amp_conf/htdocs/recordings/includes/bootstrap.php
r4993 r6505 98 98 */ 99 99 function getFiles($path,$filter,$recursive_max,$recursive_count) { 100 global $SETTINGS_MAX_FILES; 101 $SETTINGS_MAX_FILES = isset($SETTINGS_MAX_FILES) ? $SETTINGS_MAX_FILES : 3000; 100 102 101 103 $files = array(); … … 110 112 111 113 $fileCount++; 112 if ($fileCount> 3000) {114 if ($fileCount>$SETTINGS_MAX_FILES) { 113 115 $_SESSION['ari_error'] 114 116 .= _("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 326 326 $SETTINGS_ALLOW_PHONE_SETTINGS = 1; 327 327 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; 329 333 330 334 ?>
