File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
// for command line use; parse_str($_SERVER['QUERY_STRING'], $_GET);
3
3
date_default_timezone_set ('UTC ' );
4
- $ valid_pages = [
5
- 'nqp ' => [
4
+ $ valid_pages = array (
5
+ 'nqp ' => array (
6
6
'id ' => 'nqp ' ,
7
7
'name ' => 'NQP (Not Quite Perl) Compiler Toolkit ' ,
8
8
'path ' => 'downloads/nqp/ ' ,
9
- 'vars ' => [ '.tar.gz ' => null ]
10
- ] ,
11
- 'rakudo ' => [
9
+ 'vars ' => array ( '.tar.gz ' => null )
10
+ ) ,
11
+ 'rakudo ' => array (
12
12
'id ' => 'rakudo ' ,
13
13
'name ' => 'Rakudo Perl 6 Compiler ' ,
14
14
'path ' => 'downloads/rakudo/ ' ,
15
- 'vars ' => [ '.tar.gz ' => null ]
16
- ] ,
17
- 'star ' => [
15
+ 'vars ' => array ( '.tar.gz ' => null )
16
+ ) ,
17
+ 'star ' => array (
18
18
'id ' => 'rakudo-star ' ,
19
19
'name ' => 'Rakudo Star Perl 6 Distribution ' ,
20
20
'path ' => 'downloads/star/ ' ,
21
- 'vars ' => [
21
+ 'vars ' => array (
22
22
'.tar.gz ' => null ,
23
23
'.dmg ' => null ,
24
24
'-x86_64 (JIT).msi ' => null ,
25
25
'-x86 (no JIT).msi ' => null
26
- ]
27
- ]
28
- ] ;
26
+ )
27
+ )
28
+ ) ;
29
29
30
30
$ give_latest = array_key_exists ('latest ' , $ _GET ) ? $ _GET ['latest ' ] : null ;
31
31
$ asset = array_key_exists ('asset ' , $ _GET ) ? (
You can’t perform that action at this time.
0 commit comments