Login   Register  
PHP Classes
elePHPant
Icontem

File: __DB/init.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2009-03-29 04:53
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';