error trapping, realpath

This commit is contained in:
Marc Delisle
2004-07-06 18:05:52 +00:00
parent 962d5c09e3
commit 2e1965b5c7
2 changed files with 17 additions and 2 deletions

View File

@@ -5,6 +5,13 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-07-06 Marc Delisle <lem9@users.sourceforge.net>
* libraries/export/xls.php: enable user to specify './tmp' as the
TempDir (use realpath() to find the complete path. Add error trap
in case OLE cannot write to directory. Add setTempDir() to enable OLE
write in this directory.
* Documentation.html: document the TempDir creation
2004-07-05 Marc Delisle <lem9@users.sourceforge.net>
* footer.inc.php, index.php, queryframe.php: bug 981939, database
selection in left frame under Opera, and problems with dropdown

View File

@@ -3627,7 +3627,8 @@ To create a new, empty mimetype please see libraries/transformations/template_ge
You can either export as CSV suitable for MS Excel, what works out of the
box or you can try native <b>experimental</b> MS Excel exporter. For
enabling this you need to set $cfg['TempDir'] to place where web server
user can write and install PEAR module Spreadsheet_Excel_Writer into php
user can write (for example <tt>'./tmp'</tt>)
and install PEAR module Spreadsheet_Excel_Writer into php
include path. The installation can be done by following command:
</p>
<pre>
@@ -3638,7 +3639,14 @@ To create a new, empty mimetype please see libraries/transformations/template_ge
(no stable version available yet) and then we tell pear we want to satisfy
dependencies.
</p>
<p>
To create the temporary directory on a UNIX-based system, you can do:
</p>
<pre>
cd phpMyAdmin
mkdir tmp
chmod o+rwx tmp
</pre>
<a name="faqproject"></a><br />
<h3>[7. phpMyAdmin project]</h3>