/[drupal]/contributions/modules/dbscripts/merge.php
ViewVC logotype

Contents of /contributions/modules/dbscripts/merge.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Tue Jan 20 18:11:00 2009 UTC (10 months ago) by ceardach
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-6--1, DRUPAL-6--2
Changes since 1.1: +11 -2 lines
File MIME type: text/x-php
Updating HEAD with the latest version of 5.x-1.x
1 #!/usr/bin/env php
2 <?php
3 require('dbscripts.module');
4 if (in_array('help', $_SERVER['argv'])) {
5 print dbscripts_help('merge');
6 } else {
7
8 $dev_db = isset($_SERVER['argv'][1]) ? $_SERVER['argv'][1] : FALSE;
9 $lastmerge_db = isset($_SERVER['argv'][2]) ? $_SERVER['argv'][2] : FALSE;
10 $prod_db = isset($_SERVER['argv'][3]) ? $_SERVER['argv'][3] : FALSE;
11
12 print dbscripts_merge($dev_db, $lastmerge_db, $prod_db);
13
14 }
15 ?>

  ViewVC Help
Powered by ViewVC 1.1.2