Revision #2 has been created by Antonio Ramirez on Nov 5, 2010, 8:03:06 PM with the memo:
Updating misstyping errors
« previous (#1) next (#3) »
Changes
Title
unchanged
How to use PHPExcel external library with Yii
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
yii, libraries
Content
changed
[...]
if ((class_exists($pObjectName)) || (strpos($pObjectName, 'PHPExcel') === False)) {
return false;
}
// this is the code that shows what I am saying
$pObjectFilePath = PHPEXCEL_ROOT.
str_replace('_',DIRECTORY_SEPARATOR,$pObjectName).'.php';
if ((file_exists($pObjectFilePath) === false)
|| (is_readable($pObjectFilePath) === false)) {
return false;
}
}
require($pObjectFilePath);
} // function Load()
```
<h2>Solution</h2>[...]