1
0
mirror of https://github.com/pattern-lab/patternlab-php.git synced 2025-01-17 22:29:12 +01:00

fixing a bug with the migrator

This commit is contained in:
Dave Olsen 2014-01-26 22:54:49 -05:00
parent 51100bfccb
commit b68666622a

View File

@ -63,7 +63,7 @@ class Configurer {
}
// check the config version and update it if necessary
if (!isset($config["v"]) || ($config["v"] != $defaultConfig["v"])) {
if ($migrate || ($config["v"] != $defaultConfig["v"])) {
print "upgrading your version of pattern lab...\n";
$config = $this->writeNewConfig($config,$defaultConfig);
$diffVersion = true;