This commit is contained in:
tavo-wasd 2023-11-17 21:16:27 -06:00
parent 4d94d7df81
commit 6887ef6f79

View file

@ -82,9 +82,8 @@
</head> </head>
<?php <?php
exec("rm -rf tmp/*"); exec("mkdir -p tmp && rm -rf tmp/*");
if($_POST['codebox']){ if($_POST['codebox']){
exec("mkdir -p tmp");
$file_open = fopen("tmp/$uid.ms","w+"); $file_open = fopen("tmp/$uid.ms","w+");
fwrite($file_open, $_POST['codebox']); fwrite($file_open, $_POST['codebox']);
fclose($file_open); fclose($file_open);