fixed broken links
Fixed broken links to data directory
This commit is contained in:
@@ -13,7 +13,7 @@ if($index === null){
|
||||
exit;
|
||||
}
|
||||
|
||||
$ticketsPath = __DIR__ . '../data/tickets.json';
|
||||
$ticketsPath = '../data/tickets.json';
|
||||
$tickets = [];
|
||||
|
||||
if(file_exists($ticketsPath)){
|
||||
|
||||
@@ -22,7 +22,7 @@ $newTicket = [
|
||||
'date' => $date
|
||||
];
|
||||
|
||||
$ticketsPath = __DIR__ . '../data/tickets.json';
|
||||
$ticketsPath ='../data/tickets.json';
|
||||
$tickets = [];
|
||||
|
||||
if (file_exists($ticketsPath)) {
|
||||
|
||||
@@ -14,7 +14,7 @@ if($index === null || $ticket === null){
|
||||
exit;
|
||||
}
|
||||
|
||||
$ticketsPath = __DIR__ . '../data/tickets.json';
|
||||
$ticketsPath = '../data/tickets.json';
|
||||
$tickets = [];
|
||||
|
||||
if(file_exists($ticketsPath)){
|
||||
|
||||
Reference in New Issue
Block a user