protected function ensureFileExists($path)
    {
        if (file_exists($path) === false) {

            // Create directory
            @mkdir(dirname($path), 0777, true);

            // Make the language file
            touch($path);
        }
    }
protected function ensureFileExists($path)
    {
        if (file_exists($path) === false) {

            // Create directory
            @mkdir(dirname($path), 0777, true);

            // Make the language file
            touch($path);
        }
    }
protected function ensureFileExists ( $ path ) { if ( file_exists ( $ path ) === false ) { // Create directory @ mkdir ( dirname ( $ path ) , 0777 , true ) ; // Make the language file touch ( $ path ) ; } }
Create the language file if one does not exist.

@param string $path
Create the language file if one does not exist .