Skip to content

Commit

Permalink
fixed escaping of model
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippMundhenk committed Oct 28, 2023
1 parent 564de54 commit 70f1a07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion files/gui/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<?php include 'config.php'; ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="main.css">
<title>Brother Scanner <?php echo($MODEL); ?></title>
<title>Brother <?php echo($MODEL); ?></title>
<?php
if ($RENAME_GUI_SCANTOFILE) {
$button_file = $RENAME_GUI_SCANTOFILE;
Expand Down
2 changes: 1 addition & 1 deletion files/runScanner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if [ "$WEBSERVER" == "true" ]; then
{
echo "<?php"
echo "\$UID=$UID;"
echo "\$MODEL=$MODEL;"
echo "\$MODEL=\"$MODEL\";"
if [[ -n "$RENAME_GUI_SCANTOFILE" ]]; then
echo "\$RENAME_GUI_SCANTOFILE=$RENAME_GUI_SCANTOFILE;"
fi
Expand Down

0 comments on commit 70f1a07

Please sign in to comment.