Skip to content

Commit 23b0a29

Browse files
authored
Update index.php
1 parent 412a1d4 commit 23b0a29

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

public/index.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
<?php
22
use Nette\Utils\Helpers;
33
use Melbahja\Http2\Pusher;
4+
5+
//broken version quick patch
6+
if(isset($_GET['version']) && 'latest' !== $_GET['version']){
7+
unset($_GET['version']);
8+
}
9+
410
/*
511
die('PAUSE '.basename(__FILE__).__LINE__.$_SERVER['SERVER_ADDR']);
6-
12+
if(isset($_GET['version']) && 'latest' !== $_GET['version']){
13+
unset($_GET['version']);
14+
}
715
@todo: bundle/printer...., 2oop functions
816
*/
917
function multineedle_stripos($haystack, $needles, $offset=0) {

0 commit comments

Comments
 (0)