mirror of
https://gitlab.com/hacklab01/pivilion.git
synced 2025-04-29 16:47:17 +00:00
Update gen.php
This commit is contained in:
parent
4371e3d2f9
commit
63b8649e9a
@ -268,7 +268,7 @@ $torname = file_get_contents('/home/pi/pivilion/torname');
|
||||
$tornamemode = preg_replace('/\s+/', '', $torname);
|
||||
$output = ob_get_contents(); // get contents of trapped output
|
||||
//write to file, e.g.
|
||||
$newfile = "/var/www/html/pivilion/gen/index.html";
|
||||
$newfile = "/var/www/html/pivilion/gen/index.php";
|
||||
$file = fopen($newfile, "w");
|
||||
fwrite($file, $output);
|
||||
fclose($file);
|
||||
|
Loading…
x
Reference in New Issue
Block a user