|
From: Alex L. <ad...@ya...> - 2007-02-28 00:00:27
|
Howdy guys,
Just committed the pathing fix, at the current moment to run
OpenDocumentPHP the directory is it contained in must be within the ini
files classpath, as a result this makes it annoying to use, as a work
around please include the $root_path when including a new file, when
starting a new test case please define $root_path to set it to the root
of the /src directory.
So, if I have...
OpendocumentPHP
src
OpenDocumentPHP
>> This is where the ODPHP Code is.
Samples
>> This is where the test cases are.
doc
When defining a text case in the Samples directory please note that you
should define the variable $root_path to point back to the src directory...
$root_path = './../';
So that when this is called in the line to get the OpenDocumentText class..
require_once $root_path . 'OpenDocumentPHP/OpenDocumentText.php';
the string becomes.. './../OpenDocumentPHP/OpenDocumentText.php', and
therefore can be found from the Samples directory..
Enjoy.. Alex.
|