Mecha CMS

Deep learning on using the API.

File

Table of Contents
  1. Configuration 

Working with files.

1.0.02.0.02.2.0Genome

Configuration 

File::$state = [
    // Range of allowed file sizes
    'size' => [ … ],
    // List of allowed file types
    'type' => [ … ],
    // List of allowed file extensions
    'x' => [ … ]
];

Create an empty file or open file if it already exists:

$file = new File('.\path\to\file.txt');