Bug #16938 open_basedir check is wrong in Spreadsheet_Excel_Writer_Worksheet::_initialize - seanch

git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@317455 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel O'Connor 2011-09-29 07:51:45 +00:00
parent 065e9c7c50
commit c04bf67cd2
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ class Spreadsheet_Excel_Writer_Worksheet extends Spreadsheet_Excel_Writer_BIFFwr
return;
}
if ($this->_tmp_dir === '' && ini_get('open_basedir') === false) {
if ($this->_tmp_dir === '' && ini_get('open_basedir') === true) {
// open_basedir restriction in effect - store data in memory
// ToDo: Let the error actually have an effect somewhere
$this->_using_tmpfile = false;