equal
deleted
inserted
replaced
14 include("$root/$path/config.php"); |
14 include("$root/$path/config.php"); |
15 |
15 |
16 if(isset($config['event_list']) && !empty($config['event_list']) ) { |
16 if(isset($config['event_list']) && !empty($config['event_list']) ) { |
17 array_push($res, "$path/select.php"); |
17 array_push($res, "$path/select.php"); |
18 foreach($config['event_list'] as $event) { |
18 foreach($config['event_list'] as $event) { |
19 array_push($res, "$path/$event/polemicaltimeline.php"); |
19 $event_array = explode("/", $event); |
|
20 array_shift($event_array); |
|
21 $event_str = implode("/",$event_array); |
|
22 array_push($res, "$path/$event_str/polemicaltimeline.php"); |
20 } |
23 } |
21 } else { |
24 } else { |
22 array_push($res, "$path/polemicaltimeline.php"); |
25 array_push($res, "$path/polemicaltimeline.php"); |
23 } |
26 } |
24 |
27 |