PHP Classes

File: __DB/init.php

Recommend this page to a friend!
  Classes of solomongaby   MySQL Versioning   __DB/init.php   Download  
File: __DB/init.php
Role: Configuration script
Content type: text/plain
Description: config file for updater
Class: MySQL Versioning
Update MySQL databases using SQL change set files
Author: By
Last change:
Date: 15 years ago
Size: 452 bytes
 

Contents

Class file image Download
<?php

define
('DB_PATH' , dirname(__FILE__));
define('DB_ENV_PATH' , DB_PATH . '/enviroment/');
define('DB_CHANGESETS_PATH' , DB_PATH . '/changesets/');
define('DB_DATA_PATH' , DB_PATH . '/data/');
define('DB_TABLES_PATH' , DB_PATH . '/tables/');

define('MAIN_APP_PATH' , dirname(DB_PATH));

require
MAIN_APP_PATH . '/config.php';

require
DB_ENV_PATH . '/Mysql.php';
require
DB_ENV_PATH . '/MysqlUpdater.php';