mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 12:09:21 +00:00
Update build script
This commit is contained in:
parent
4f9946063d
commit
3221cf2732
12
build
12
build
@ -10,6 +10,13 @@
|
|||||||
|
|
||||||
//Defines some utilities
|
//Defines some utilities
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Display a message on the screen
|
||||||
|
*
|
||||||
|
* @param string $message The message to display on the screen
|
||||||
|
* @param bool $new_section Specify whether the message refers to a
|
||||||
|
* new build section or not
|
||||||
|
*/
|
||||||
function notice(string $message, bool $new_section = false) {
|
function notice(string $message, bool $new_section = false) {
|
||||||
echo ($new_section ? "\n\n" : "").$message,"\n";
|
echo ($new_section ? "\n\n" : "").$message,"\n";
|
||||||
}
|
}
|
||||||
@ -193,3 +200,8 @@ RewriteRule . index.php [L]
|
|||||||
</IfModule>
|
</IfModule>
|
||||||
';
|
';
|
||||||
file_put_contents($output.".htaccess", $htaccess);
|
file_put_contents($output.".htaccess", $htaccess);
|
||||||
|
|
||||||
|
|
||||||
|
//Done
|
||||||
|
notice("Done.", TRUE);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user