PHP Classes

File: demo/index.php

Recommend this page to a friend!
  Classes of Marco Afonso   Mask   demo/index.php   Download  
File: demo/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Mask
Trait to process templates with class functions
Author: By
Last change: Update of demo/index.php
Date: 11 months ago
Size: 380 bytes


Class file image Download

ini_set('display_errors', 1);

// Load dependencies
require_once '../vendor/autoload.php';

// Tell what we will use
use Taviroquai\Mask\Mask;

// Set configuration
Mask::$templateCachePath = './cache';
Mask::$templatePath = './templates';

// Load demo
require_once 'DemoView.php';

// Run demo
$view = new LayoutView();