Store the allowed directories in the execution context as a string vector, like the global runtime configuration.
Update the corresponding mutators/accessors.
Properly store the paths set via open_basedir.
Fix proper API usage.