comparison develop/index.php @ 23:a879f6b9d166

modification for select-move-taglist: tags don't appear to be duplicated in other topics.
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Wed, 25 Feb 2015 10:59:45 +0100
parents ac77748bb813
children 4b6d2d7e706e
comparison
equal deleted inserted replaced
22:a8ae5cbc3364 23:a879f6b9d166
17 17
18 // require the controller classes 18 // require the controller classes
19 require("controllers/home.php"); 19 require("controllers/home.php");
20 require("controllers/extractapp.php"); 20 require("controllers/extractapp.php");
21 21
22 /*
23 $output = '{"file":{"id":5,"creationDate":"11/02/2015-15:52","text":"Jorge 青城續修縣志第五册 藝文志 上 山左文人遞興一盛於邊廷實再盛於李滄 HHHH","creatorId":12,"fileName":"66666_3_5_2015.02.11_03.52.42.747.txt","info":"id=5, creation date=Wed Feb 11 15:52:42 CET 2015, last change=Wed Feb 11 15:52:42 CET 2015"},"branch":{"id":3,"creationDate":"11/02/2015-15:42","currentLastFileId":5,"sectionId":66666,"creatorId":12,"label":"qwe","info":"id=3, creation date=Wed Feb 11 15:42:36 CET 2015, last change=Wed Feb 11 15:52:42 CET 2015"}}';
24 echo $output;
25
26 $json = json_decode($output, true);
27
28 echo "id=";
29 echo $json['file']['id'];
30 echo "<br>";
31 */
32
33 22
34 23
35 // create the controller and execute the action 24 // create the controller and execute the action
36 $loader = new Loader($_GET, $_POST); 25 $loader = new Loader($_GET, $_POST);
37 26