我将组件写入 joomla cms,我需要使用 zend 代码来谷歌日历。我写了新的类来组织操作,但是我对 zend 有问题。
我的代码类是:
<?php
// Protect from unauthorized access
defined('_JEXEC') or die('Restricted Access');
// Load framework base classes
$zend_library_path = 'helpers/library/Zend';
set_include_path ( JPATH_ROOT . PATH_SEPARATOR . $zend_library_path);
//include ('Json.php');
//echo JPATH_ROOT . PATH_SEPARATOR . $zend_library_path;
include_once('Loader.php');
jimport('joomla.application.component.controller');
JTable::addIncludePath(JPATH_COMPONENT . DS . 'tables');
class GoogleCalendar
{
我有变暖:
Warning: include_once(Loader.php): failed to open stream: No such file or directory in /home/samba
我必须改变它才能工作?