Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Hi. Can I ask, what is the correct way to use a custom data path?
I'm trying to install RainLoop on the OpenShift Online platform, which needs a specific directory for persistent data. This can be referred to by the $OPENSHIFT_DATA_DIR environment variable.
I don't really know PHP but I've created an include.php file in the root directory that contains the following:
However the data directory is still being created in the default location.
Is this simply bad coding on my part or am I going about this the wrong way? Many thanks.
Working perfectly. Many thanks.
On a similar subject. I'm trying to use environment variables in the application.ini file. Eg.:
What I've coded doesn't work so it's obviously incorrect. Is there a way I can reference the environment variables in the config file? Thanks again.