size_auto($config['gdthumbSize']); $img->save($thumbPath); $newConfig['uploadSize'] += @filesize($thumbPath); $newThumb[$thumbName] = true; } ## Save uploadSize in DB writeDbConf($newConfig, 'config', $config, false); $msg = "
".$lang['admin']['filemanager_thumbs_rebuilt']."
"; } } else { $msg = "".$lang['admin']['filemanager_thumbs_none_selected']."
"; } } require($glob['adminFolder'].CC_DS."includes".CC_DS."header.inc.php"); ?> Please set your GD version before using this function'; } else { $page = (isset($_GET['page']) && $_GET['page']>0) ? $_GET['page'] : null; $thumbsPerPage = 100; $dirArray = walkDir(CC_ROOT_DIR.CC_DS.'images'.CC_DS.'uploads', true, $thumbsPerPage, $page, false, $int = 0); $pagination = paginate($dirArray['max'], $thumbsPerPage, $page, 'page', 'txtLink', 10); ?>