Bug #6680

Make FLOW3 open_basedir aware

Added by Thomas Fritz over 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Must have
Category:
Environment
Start date:
2010-03-03
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

FLOW3 uses the Default Temporary Path for the Operating Systems. In Linux '/tmp' is used for different operations. This behaviour triggers an error on environments where a open_basedir ini setting was set.
Perhaps it is better to use a Path within the FLOW3 Root Path in 'Data/Temporary' or determine the temporary path out of upload_tmp_dir or session_save_path ini setting.

#1

Updated by Karsten Dambekalns over 11 years ago

  • Category set to Environment
  • Status changed from New to Closed
  • Assignee set to Karsten Dambekalns
  • Target version set to 1.0 alpha 8

The Environment class provides a method to get the temporary directory. That by default uses the Data/Temporary folder. The use of /tmp is a fallback. So, we try to do what you want, but if that doesn't work, we need to fall back to something. Make sure you have the permissions set correctly.

Also available in: Atom PDF