setup.php 3.15 KB
<?php

setlocale (LC_ALL, 'ru_RU.KOI8-R');

define ('DB_DIR', $_SERVER['DOCUMENT_ROOT'] . '/libs/DB/');
define ('PAGER_DIR', $_SERVER['DOCUMENT_ROOT'] . '/libs/PAGER/');
define ('SMARTY_DIR', $_SERVER['DOCUMENT_ROOT'] . '/libs/SMARTY/');
define ('HTTP_DIR', $_SERVER['DOCUMENT_ROOT'] . '/libs/HTTP/');

require_once ($_SERVER['DOCUMENT_ROOT'] . '/config/config.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/PEAR.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/DB.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/dbtree.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/Pager_Wrapper.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/functions.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/ffmpeg.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/image.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/PHPMailer/class.phpmailer.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/mail.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/sendMail.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/Smarty.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/FGetCSV.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/Download.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/cache.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/statics.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/catalogs.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/forum.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/articles.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/news.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/advices.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/advices2.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/gallery.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/gallery_list.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/orders.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/rubrics.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/CSLXmlReader.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/banners.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/video.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/akcii.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/sale.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/promo.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/reviews.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/book.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/url.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/reviews2.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/vacancy.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/fon.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/video2.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/send.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/extra.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/callback.class.php');
require_once ($_SERVER['DOCUMENT_ROOT'] . '/libs/setup.class.php');