Hi
Dne Wed, 12 Aug 2009 22:34:25 +0000 drummingds1@users.sourceforge.net napsal(a):
Log Message:
Fixed include path problem for demo server. Import panel now displays as intended.
[...]
+$loc1 = getcwd() . '/libraries/PHPExcel/'; +$loc2 = '../libraries/PHPExcel/';
+if (file_exists($loc1)) {
- $path = $loc1;
+} else {
- $path = $loc2;
+}
/* Append the PHPExcel directory to the include path variable */ set_include_path(get_include_path() . PATH_SEPARATOR . getcwd() . '/libraries/PHPExcel/');
How is this supposed to work without using $path anywhere?
Also the cwd should always be top level phpMyAdmin directory (too many things rely on this), when is it different?