Skip to content

Commit 27aa47b

Browse files
committed
New generate page for Environment distro file
1 parent 9494e6d commit 27aa47b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

generate/environment_local.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,19 @@
1616
if (!is_dir($path)) {
1717
mkdir($path, '0775');
1818
}
19+
echo "environment folder created";
1920
if (!is_dir($path.'images/file')) {
2021
mkdir($path.'images/file', '0775');
2122
}
23+
echo "image folder created"
2224
2325
// make page
2426
2527
//make_necessary_directories($path."images/file");
2628
$page = new LocalPage("Environment (IDE)", "Environment", "Environment", '../');
2729
$page->content(file_get_contents($source."index.html"));
2830
$page->language($lang);
29-
writeFile('distribution/environment/index.html', $page->out());
31+
writeFile($path.'index.html', $page->out());
3032
copydirr($source.'/images', $path.'/images');
3133

3234

0 commit comments

Comments
 (0)