My question is, where would I put that? After the require call: $f3=require('lib/base.php');
Some kind of different $f3->config call?
[heroku]
host=DB_HOST
name=DB_NAME
user=DB_USER
pass=DB_PASS
$f3->get('db_name')
--
-- You've received this message because you are subscribed to the Google Groups group. To post to this group, send an email to f3-fra...@googlegroups.com. To unsubscribe from this group, send an email to f3-framework...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/f3-framework?hl=en
---
You received this message because you are subscribed to the Google Groups "Fat-Free Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to f3-framework...@googlegroups.com.
To post to this group, send email to f3-fra...@googlegroups.com.
Visit this group at https://groups.google.com/group/f3-framework.
To view this discussion on the web visit https://groups.google.com/d/msgid/f3-framework/8a22dd89-567c-48cc-8930-1c8d4c191bce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
-- You've received this message because you are subscribed to the Google Groups group. To post to this group, send an email to f3-fra...@googlegroups.com. To unsubscribe from this group, send an email to f3-framework...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/f3-framework?hl=en
---
You received this message because you are subscribed to the Google Groups "Fat-Free Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to f3-framework...@googlegroups.com.
To post to this group, send email to f3-fra...@googlegroups.com.
Visit this group at https://groups.google.com/group/f3-framework.
To view this discussion on the web visit https://groups.google.com/d/msgid/f3-framework/20abd735-0b2b-4c07-bca6-8a83bae7417b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
$f3->mset([
'db_dns' => getenv('db_dns'),
'db_user' => getenv('db_user'),
'db_pass' => getenv('db_pass'),
'db_name' => getenv('db_name')
]);