File: build/welcome.php

Recommend this page to a friend!
  Classes of Zimo Xiao  >  Angel Framework  >  build/welcome.php  >  Download  
File: build/welcome.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Angel Framework
Handle HTTP requests received by Web applications
Author: By
Last change: update
Merge branch 'master' of https://github.com/angel-project/framework
Add files via upload
Date: 3 years ago
Size: 209 bytes
 

Contents

Class file image Download
<?php

  build
::get('', function () {
     
view::global([
     
'title' => 'Angel fly',
     
'url' => user::url()
    ]);
//set global variables
     
echo view::render('welcome.html');
  });
//example page

For more information send a message to info at phpclasses dot org.