my question is simple but I have not found a form to solve it. I am trying to include a library located on the magento's module which I am developing.
$simple_excel_path = Mage::getBaseDir('code')."/local/Javi/libraries/SimpleExcelLibrary/src/SimpleExcel/SimpleExcel.php";
echo $simple_excel_path;
require $simple_excel_path;
This code returns the following error:
(echo) this route is correct. /home/javiertxu/Documentos/webs/magentoabc/app/code/local/Javi/libraries/SimpleExcelLibrary/src/SimpleExcel/SimpleExcel.php
(error) but the require function is going to another site Fatal error: require(): Failed opening required '/home/javiertxu/Documentos/webs/magentoabc/app/codelocal/Javi/libraries/SimpleExcelLibrary/src/SimpleExcel/SimpleExcel.php' (include_path='/home/javiertxu/Documentos/webs/magentoabc/app/code/local:/home/javiertxu/Documentos/webs/magentoabc/app/code/community:/home/javiertxu/Documentos/webs/magentoabc/app/code/core:/home/javiertxu/Documentos/webs/magentoabc/lib:.:/usr/share/php') in /home/javiertxu/Documentos/webs/magentoabc/app/design/adminhtml/default/default/template/massiveupdatingproducts/massiveupdatingproductsbackend.phtml on line 5
This is the directory:
What I should do?
Thanks