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:
parent
065e9c7c50
commit
c04bf67cd2
|
|
@ -481,7 +481,7 @@ class Spreadsheet_Excel_Writer_Worksheet extends Spreadsheet_Excel_Writer_BIFFwr
|
||||||
return;
|
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
|
// open_basedir restriction in effect - store data in memory
|
||||||
// ToDo: Let the error actually have an effect somewhere
|
// ToDo: Let the error actually have an effect somewhere
|
||||||
$this->_using_tmpfile = false;
|
$this->_using_tmpfile = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue