projects
/
thericegoat.com.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7610bd3
)
create lang folders
author
Eduardo
<
[email protected]
>
Sat, 18 Nov 2023 01:31:13 +0000
(
02:31
+0100)
committer
Eduardo
<
[email protected]
>
Sat, 18 Nov 2023 01:31:13 +0000
(
02:31
+0100)
page-generator/index.php
patch
|
blob
|
history
diff --git
a/page-generator/index.php
b/page-generator/index.php
index 6388fb93ea6e9048698b88ae42a4f5f2300acf78..f35d0bcd4054c4101f9f80db14c0b549b7653c5f 100644
(file)
--- a/
page-generator/index.php
+++ b/
page-generator/index.php
@@
-36,7
+36,12
@@
$data['langs'] = array_filter($data['langs'], function ($item) {
});
#endregion
+#region lang folders
+foreach ($data['langs'] as $item)
+ mkdir(BASE_PATH_TEMP . "/" . $item['lang']);
+
+#endregion
#region assets and images
// copy assets