Bug #6680

Make FLOW3 open_basedir aware

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

Status:Closed Start date:2010-03-03
Priority:Must have Due date:
Assigned To:Karsten Dambekalns % Done:

0%

Category:Environment
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 8
PHP Version: Complexity:
Has patch: Affected Flow version:

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.

History

#1 Updated by Karsten Dambekalns over 5 years ago

  • Category set to Environment
  • Status changed from New to Closed
  • Assigned To 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