Ajoute le ? devant les paramètres GET si besoin
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<?php require 'errors.php' ?>
|
||||
<?php $params['title'] = 'Home';
|
||||
$get = $_SERVER['QUERY_STRING'] ?? '';
|
||||
if (!empty($get)) {
|
||||
$get = '?' . $get;
|
||||
}
|
||||
?>
|
||||
<div>
|
||||
<p>
|
||||
@@ -102,4 +105,4 @@ $get = $_SERVER['QUERY_STRING'] ?? '';
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
Reference in New Issue
Block a user