Browse Source

Added debugging options

pull/33/head
parent
commit
3e0b7a41f5
Signed by: aayla GPG Key ID: 5D2C38575E4217B7
2 changed files with 6 additions and 1 deletions
  1. +4
    -0
      chapters/chapterlist.php
  2. +2
    -1
      docker-compose.yml

+ 4
- 0
chapters/chapterlist.php View File

@ -69,6 +69,10 @@ class Chapter {
}
}
if (getenv("PROFILE") == "debug") {
echo "<pre>" . var_export($response) . "</pre>";
}
$records = json_decode($response) -> records;
$chapters = [];
foreach ($records as $key => $value) {


+ 2
- 1
docker-compose.yml View File

@ -7,4 +7,5 @@ services:
environment:
- STRIPE_PUBLIC_KEY=${STRIPE_PUBLIC_KEY}
- STRIPE_PRIVATE_KEY=${STRIPE_PRIVATE_KEY}
- AIRTABLE_KEY=${AIRTABLE_KEY}
- AIRTABLE_KEY=${AIRTABLE_KEY}
- PROFILE=${PROFILE}

Loading…
Cancel
Save