This commit is contained in:
Qiang Xue
2013-11-02 23:27:26 -04:00
parent eb39d1ffc3
commit 513037d97d
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class Plugin implements PluginInterface
$file = rtrim($composer->getConfig()->get('vendor-dir'), '/') . '/yiisoft/extensions.php';
if (!is_file($file)) {
@mkdir(dirname($file));
file_put_contents($file, "<?php\nreturn [];\n");
file_put_contents($file, "<?php\n\nreturn [];\n");
}
}
}