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

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: 6 094 times
Version: 1.1
Category: How-tos
Tags:
Written by: Hudson Nguyen
Last updated by: Hudson Nguyen
Created on: Dec 10, 2012
Last updated: 11 years ago
Update Article

Revisions

View all history