Хостинг. Ошибка: Parse error: syntax error
|
Здравствуйте!
Помогите решить проблему с ошибкой:
Parse error: syntax error, unexpected T_REQUIRE_ONCE in /home/tkache01/tkachenko.lg.ua/www/index.php on line 18
Вот код index.php с 1 по 20 строки:
<?php
// Version
define('VERSION', '1.4.9.3');
// Configuration
require_once('config.php');
// Install
if (!defined('DIR_APPLICATION')) {
header('Location: install/index.php');
exit;
}
set_include_path(get_include_path().PATH_SEPARATOR.'/home/tkache01/tkachenko.lg.ua/www/pear/') - добавлено мной после добавления библиотек PEAR.
// Startup
require_once(DIR_SYSTEM . 'startup.php');
// Application Classes
require_once(DIR_SYSTEM . 'library/customer.php');
require_once(DIR_SYSTEM . 'library/currency.php');
|
|
добавьте точку с запятой в конце этой строки
set_include_path(get_include_path().PATH_SEPARATOR.'/home/tkache01/tkachenko.lg.ua/www/pear/')
|
Тема закрита.