mkdir to install composer

This commit is contained in:
Fabiano Alencar 2018-04-04 14:53:47 -03:00
parent d3b736d008
commit 4f8be8e62d
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ echo "\m Checking if file bootstrap navwalker exist ... \n\n";
if (!file_exists("src/vendor/class-wp-bootstrap-navwalker.php")) {
echo "\m Copy Boostrap Navwalker ... \n\n";
mkdir("src/vendor/");
mkdir("src/vendor/", 0777, true);
copy("vendor/wp-bootstrap/wp-bootstrap-navwalker/class-wp-bootstrap-navwalker.php", "src/vendor/class-wp-bootstrap-navwalker.php");
}