Documentation

config.php

Table of Contents

IMAGES_EXT_ACCEPTED  = ['jpeg', 'jpg', 'png', 'webp', 'gif']
MAX_FILE_SIZE  = 1048576 * 128
PUBLIC_FILE_URL  = 'public-files/'
UPLOAD_EXT_ACCEPTED  = ['doc', 'docx', 'pdf', 'odf', 'pptx', 'jpeg', 'jpg', 'png', 'webp', 'gif']
UPLOAD_FILE_PATH  = \UPLOAD_PUBLIC_FILE_PATH
UPLOAD_PRIVATE_FILE_PATH  = \realpath(\HOME_PATH . '../private-files/') . '/'
UPLOAD_PUBLIC_FILE_PATH  = \realpath(\HOME_PATH . \PUBLIC_FILE_URL) . '/'

Constants

IMAGES_EXT_ACCEPTED

public mixed IMAGES_EXT_ACCEPTED = ['jpeg', 'jpg', 'png', 'webp', 'gif']
Tags

MAX_FILE_SIZE

public mixed MAX_FILE_SIZE = 1048576 * 128
Tags

PUBLIC_FILE_URL

public mixed PUBLIC_FILE_URL = 'public-files/'
Tags

UPLOAD_EXT_ACCEPTED

public mixed UPLOAD_EXT_ACCEPTED = ['doc', 'docx', 'pdf', 'odf', 'pptx', 'jpeg', 'jpg', 'png', 'webp', 'gif']
Tags

UPLOAD_FILE_PATH

public mixed UPLOAD_FILE_PATH = \UPLOAD_PUBLIC_FILE_PATH
Tags

UPLOAD_PRIVATE_FILE_PATH

public mixed UPLOAD_PRIVATE_FILE_PATH = \realpath(\HOME_PATH . '../private-files/') . '/'
Tags

UPLOAD_PUBLIC_FILE_PATH

public mixed UPLOAD_PUBLIC_FILE_PATH = \realpath(\HOME_PATH . \PUBLIC_FILE_URL) . '/'
Tags

        

Search results