read_mappings.php (472B)
1 <?php
2
3 /* Keyword to Search Engine mapping ----------------------------------------- */
4
5 $file = fopen(
6 $searchkeys_file,
7 "r"
8 );
9 $searchkeys = json_decode(
10 fread($file, filesize($searchkeys_file)),
11 true
12 );
13 fclose($file);
14
15 /* Category to Search Engine mapping ---------------------------------------- */
16
17 $file = fopen(
18 $searchcats_file,
19 "r"
20 );
21 $searchcats = json_decode(
22 fread($file, filesize($searchcats_file)),
23 true
24 );
25 fclose($file);
26
27 ?>