Немогу прикрутить PHPTAL к Drupal 5.0

Главные вкладки

Аватар пользователя gralse gralse 14 марта 2007 в 19:59

Никак немогу прикрутить PHPTAL к drupal 5.1 (php 4)
ссылки:
http://phptal.motion-twin.com/files/old/Algo_map-0.1.1.tgz
http://phptal.motion-twin.com/files/old/GetText-0.6.4.tgz
http://phptal.motion-twin.com/files/old/HTML_Template_PHPTAL-0.7.0.tgz
http://phptal.motion-twin.com/files/old/Types-0.3.2.tgz

В документе по установке:

If you do not use PEAR or do not have it installed on your system, you can still install PHPTAL by unzipping the downloaded archive.

tar zxvf PHPTAL-X.X.X.tar.gz
cp -r PHPTAL-X.X.X/PHPTAL* /path/to/your/lib/folder

This will install the PHPTAL.php file and the associated PHPTAL folder in /path/to/your/lib/folder.

Don't forget to modify your php include path in your scripts so that PHP will be able to locate library files automatically :

<?php
$old = ini_get('include_path');

// windows users must use ';' instead of ':' in the line below
ini_set('include_path', $old.':/path/to/your/lib/folder');

// will work like a charm
require_once 'PHPTAL.php';
?>

добовляю в setings.php

Warning: main(PHPTAL.php) [function.main]: failed to open stream: No such file or directory in /home/mysite/sites/default/settings.php on line 145

Fatal error: main() [function.require]: Failed opening required 'PHPTAL.php' (include_path='.:/home/mysites/themes/engines/phptal') in /home/mysite/sites/default/settings.php on line 145

ПОМОГИТЕ!!!!