* The following tests are only to help diagnose feature-specific issues.
<?php
// LOCAL CONFIG [2]
// _filesconfig.php
return array (
'root' => './content',
'start_path' => './content/balloons',
);
// STORAGE CONFIG [14]
// _files/config/config.php
return array (
'image_resize_memory_limit' => 1024,
'image_resize_max_pixels' => 0,
'image_resize_cache_direct' => true,
'menu_cache_validate' => false,
'allow_tasks' => '***',
'download_dir_cache' => 'storage',
'allow_upload' => true,
'allow_delete' => true,
'allow_rename' => true,
'allow_new_folder' => true,
'allow_new_file' => true,
'allow_duplicate' => true,
'allow_text_edit' => true,
'demo_mode' => true,
);
// USER CONFIG [16]
// User config parameters.
$user = array (
'image_resize_memory_limit' => 1024,
'image_resize_max_pixels' => 0,
'image_resize_cache_direct' => true,
'menu_cache_validate' => false,
'allow_tasks' => '***',
'download_dir_cache' => 'storage',
'allow_upload' => true,
'allow_delete' => true,
'allow_rename' => true,
'allow_new_folder' => true,
'allow_new_file' => true,
'allow_duplicate' => true,
'allow_text_edit' => true,
'demo_mode' => true,
'root' => './content',
'start_path' => './content/balloons',
);
// CONFIG [74]
// User parameters merged with default parameters.
$config = array (
'root' => './content',
'start_path' => './content/balloons',
'username' => '',
'password' => '',
'load_images' => true,
'load_files_proxy_php' => false,
'load_images_max_filesize' => 1000000,
'image_resize_enabled' => true,
'image_resize_cache' => true,
'image_resize_dimensions' => 320,
'image_resize_dimensions_retina' => 480,
'image_resize_dimensions_allowed' => '',
'image_resize_types' => 'jpeg, png, gif, webp, bmp, avif',
'image_resize_quality' => 85,
'image_resize_function' => 'imagecopyresampled',
'image_resize_sharpen' => true,
'image_resize_memory_limit' => 1024,
'image_resize_max_pixels' => 0,
'image_resize_min_ratio' => 1.5,
'image_resize_cache_direct' => true,
'folder_preview_image' => true,
'folder_preview_default' => '_filespreview.jpg',
'menu_enabled' => true,
'menu_show' => true,
'menu_max_depth' => 5,
'menu_sort' => 'name_asc',
'menu_cache_validate' => false,
'menu_load_all' => false,
'menu_recursive_symlinks' => true,
'layout' => 'rows',
'sort' => 'name_asc',
'sort_dirs_first' => true,
'sort_function' => 'locale',
'cache' => true,
'cache_key' => 0,
'storage_path' => '_files',
'files_exclude' => '',
'dirs_exclude' => '',
'allow_symlinks' => true,
'title' => '%name% [%count%]',
'history' => true,
'transitions' => true,
'click' => 'popup',
'click_window' => '',
'click_window_popup' => true,
'code_max_load' => 100000,
'topbar_sticky' => 'scroll',
'check_updates' => false,
'allow_tasks' => '***',
'get_mime_type' => false,
'context_menu' => true,
'prevent_right_click' => false,
'license_key' => '',
'filter_live' => true,
'filter_props' => 'name, filetype, mime, features, title',
'download_dir' => 'browser',
'download_dir_cache' => 'storage',
'assets' => '',
'allow_upload' => true,
'allow_delete' => true,
'allow_rename' => true,
'allow_new_folder' => true,
'allow_new_file' => true,
'allow_duplicate' => true,
'allow_text_edit' => true,
'demo_mode' => true,
'upload_allowed_file_types' => '',
'upload_max_filesize' => 0,
'upload_exists' => 'increment',
'popup_video' => true,
'video_thumbs' => true,
'video_ffmpeg_path' => 'ffmpeg',
'lang_default' => 'en',
'lang_auto' => true,
);
// DEFAULT CONFIG [74]
// Default config parameters.
$default = array (
'root' => '',
'start_path' => false,
'username' => '',
'password' => '',
'load_images' => true,
'load_files_proxy_php' => false,
'load_images_max_filesize' => 1000000,
'image_resize_enabled' => true,
'image_resize_cache' => true,
'image_resize_dimensions' => 320,
'image_resize_dimensions_retina' => 480,
'image_resize_dimensions_allowed' => '',
'image_resize_types' => 'jpeg, png, gif, webp, bmp, avif',
'image_resize_quality' => 85,
'image_resize_function' => 'imagecopyresampled',
'image_resize_sharpen' => true,
'image_resize_memory_limit' => 128,
'image_resize_max_pixels' => 30000000,
'image_resize_min_ratio' => 1.5,
'image_resize_cache_direct' => false,
'folder_preview_image' => true,
'folder_preview_default' => '_filespreview.jpg',
'menu_enabled' => true,
'menu_show' => true,
'menu_max_depth' => 5,
'menu_sort' => 'name_asc',
'menu_cache_validate' => true,
'menu_load_all' => false,
'menu_recursive_symlinks' => true,
'layout' => 'rows',
'sort' => 'name_asc',
'sort_dirs_first' => true,
'sort_function' => 'locale',
'cache' => true,
'cache_key' => 0,
'storage_path' => '_files',
'files_exclude' => '',
'dirs_exclude' => '',
'allow_symlinks' => true,
'title' => '%name% [%count%]',
'history' => true,
'transitions' => true,
'click' => 'popup',
'click_window' => '',
'click_window_popup' => true,
'code_max_load' => 100000,
'topbar_sticky' => 'scroll',
'check_updates' => false,
'allow_tasks' => false,
'get_mime_type' => false,
'context_menu' => true,
'prevent_right_click' => false,
'license_key' => '',
'filter_live' => true,
'filter_props' => 'name, filetype, mime, features, title',
'download_dir' => 'browser',
'download_dir_cache' => 'dir',
'assets' => '',
'allow_upload' => false,
'allow_delete' => false,
'allow_rename' => false,
'allow_new_folder' => false,
'allow_new_file' => false,
'allow_duplicate' => false,
'allow_text_edit' => false,
'demo_mode' => false,
'upload_allowed_file_types' => '',
'upload_max_filesize' => 0,
'upload_exists' => 'increment',
'popup_video' => true,
'video_thumbs' => true,
'video_ffmpeg_path' => 'ffmpeg',
'lang_default' => 'en',
'lang_auto' => true,
);
;?>