From mybestdatabase
Jump to: navigation, search

<html> <body> <?php $action=$_REQUEST['action']; $file = 'languages/i18n/en.json'; if ($action=="") { /* display */

 echo "<form  action= method='POST' enctype='multipart/form-data'>";
  1. $file = 'languages/i18n/en.json';
 $current = file_get_contents($file);
 echo "<input type='hidden' name='action' value='huh'>";
 echo "<textarea name='message' rows='5000' cols='500' class='textInput'>".$current."</textarea>";
 echo "<input type='submit' value='store'>";
 echo "</form>";

} else {

 $current = $_REQUEST['message'];
 file_put_contents($file, $current, LOCK_EX);
 echo "put ".$current." somewhere (".$file.")";

} ?> </body> </html>

you may as well copy includes/exception/MWException.php as then as now - oh and by the way something about MWExceptionRenderer.php anyone hear of the egregious occasion someone said "i haven't any change - thanks for asking"