Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Custom Data Path #983

Closed
Closed
@ghost

Description

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:

<?php
    define('DATA_DIR',getenv('OPENSHIFT_DATA_DIR'));
    $sCustomDataPath = DATA_DIR;

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions