PHP Classes
elePHPant
Icontem

File: build/schema_save.php

Recommend this page to a friend!
  Classes of Will Tinsdeall  >  Boiler Framework  >  build/schema_save.php  >  Download  
File: build/schema_save.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Boiler Framework
Web application framework that implements MVC
Author: By
Last change:
Date: 5 years ago
Size: 284 bytes
 

 

Contents

Class file image Download
<?php
require __DIR__."/../config.php";
echo
exec("mysqldump --add-drop-table -d -u {$settings['database']['user']} -p{$settings['database']['passwd']} -h {$settings['database']['server']} -P {$settings['database']['port']} {$settings['database']['db']} > '".__DIR__."/schema.sql'");