mkdir to install composer
This commit is contained in:
parent
d3b736d008
commit
4f8be8e62d
|
@ -16,7 +16,7 @@ echo "\m Checking if file bootstrap navwalker exist ... \n\n";
|
||||||
|
|
||||||
if (!file_exists("src/vendor/class-wp-bootstrap-navwalker.php")) {
|
if (!file_exists("src/vendor/class-wp-bootstrap-navwalker.php")) {
|
||||||
echo "\m Copy Boostrap Navwalker ... \n\n";
|
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");
|
copy("vendor/wp-bootstrap/wp-bootstrap-navwalker/class-wp-bootstrap-navwalker.php", "src/vendor/class-wp-bootstrap-navwalker.php");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue