aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/conf/common.inc.php
blob: c4884d684e23ebb898953dba5c6b50fdc774c6f7 (plain)
1
2
3
4
5
6
7
8
<?php

require_once 'config.php';

$CONFIG['webdir'] = preg_replace('/\/[a-z\.]+$/', '', $_SERVER['SCRIPT_FILENAME']);
$CONFIG['weburl'] = preg_replace('/\/[a-z\.]+$/', '', $_SERVER['SCRIPT_NAME']);

?>