K
K
Kozlov2020-04-18 17:42:59
PHP
Kozlov, 2020-04-18 17:42:59

How to connect to the database - Heroku+PHP+Redbean+Sqlite?

I can not connect to the database, everything is ok on the local.

spoiler
require_once(__DIR__ .'/db/rb-sqlite.php');
R::setup('sqlite:'.__DIR__.'/db/database.sqlite');

ps. yes, sqlite on heroku.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question