File: migration/update.php

Recommend this page to a friend!
  Classes of Zimo Xiao  >  Angel Framework  >  migration/update.php  >  Download  
File: migration/update.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:
Date: 3 years ago
Size: 527 bytes
 

Contents

Class file image Download
<?php

 
foreach (glob(__dir__.'/../vendor/angel-project/core/src/*') as $file) {
     
$method_name = basename($file);
      require_once
$file.'/'.$method_name.'.php';
     
class_alias('angel\\'.$method_name, $method_name);
  }
//Autoload block files

 
require user::dir().'/build/config.php';

 
$files = scandir(user::dir().'/migration');

  foreach (
$files as $file) {
      if (
is::in('.php', $file)) {
          if (
$file!='update.php') {
              require
user::dir().'/migration/'.$file;
          }
      }
  }

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