Difference between #1 and #2 of
MigrateCommand class for multiple sites using one code base

Revision #2 has been created by Hudson Nguyen on Dec 10, 2012, 1:02:02 AM with the memo:

Fix a typo 'makr'
« previous (#1)

Changes

Title unchanged

MigrateCommand class for multiple sites using one code base

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

Content changed

[...]
public $domain = '';
protected $_db;

public function beforeAction($action,$params)
{
if (in_array(strtolower($action),array('up','down','safeup','safedown','redo','to','new','history','ma
krk')) && $this->domain == '')
{
echo 'You need to specify the domain as Xpress support multi-sites and multi-database.',"\n",'i.e: --domain=www.domain.com',"\n";
return false;
}
[...]
0 0
2 followers
Viewed: 4 201 times
Version: 1.1
Category: How-tos
Tags:
Written by: Hudson Nguyen
Last updated by: Hudson Nguyen
Created on: Dec 10, 2012
Last updated: 5 years ago
Update Article

Revisions

View all history