mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-25 10:28:51 +00:00
Update build script
This commit is contained in:
parent
4f9946063d
commit
3221cf2732
14
build
14
build
@ -10,6 +10,13 @@
|
||||
|
||||
//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) {
|
||||
echo ($new_section ? "\n\n" : "").$message,"\n";
|
||||
}
|
||||
@ -192,4 +199,9 @@ RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule . index.php [L]
|
||||
</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