Subversion Repositories vgwhois

Rev

Rev 5 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5 Rev 11
Line 1... Line 1...
1
<?php
1
<?php
2
 
2
 
3
#
3
#
4
#  VWhois (ViaThinkSoft WHOIS, a fork of generic Whois / gwhois)
4
#  VGWhoIs (ViaThinkSoft Global WhoIs, a fork of generic Whois / gwhois)
5
#  Maintenance / Developer utilities
5
#  Maintenance / Developer utilities
6
#
6
#
7
#  (c) 2012-2019 by Daniel Marschall, ViaThinkSoft <info@daniel-marschall.de>
7
#  (c) 2012-2019 by Daniel Marschall, ViaThinkSoft <info@daniel-marschall.de>
8
#
8
#
9
#  License: https://www.gnu.org/licenses/gpl-2.0.html (GPL version 2)
9
#  License: https://www.gnu.org/licenses/gpl-2.0.html (GPL version 2)
10
#
10
#
11
 
11
 
12
require_once __DIR__ . '/../../shared/php_includes/config_functions.inc.php';
12
require_once __DIR__ . '/../../shared/php_includes/config_functions.inc.php';
13
parse_config(__DIR__ . '/../config/gwhois-pattern-update.conf');
13
parse_config(__DIR__ . '/../config/vgwhois-pattern-update.conf');
14
parse_config(__DIR__ . '/../config/urls.conf');
14
parse_config(__DIR__ . '/../config/urls.conf');
15
 
15
 
16
define('PATTERN_DIR',          __DIR__ . '/../../main/pattern');
16
define('PATTERN_DIR',          __DIR__ . '/../../main/pattern');
17
define('DOMAINS_PATTERN_FILE', PATTERN_DIR.'/domains');
17
define('DOMAINS_PATTERN_FILE', PATTERN_DIR.'/domains');
18
define('CACHE_FILE_DIR',       __DIR__ . '/../.cache/web');
18
define('CACHE_FILE_DIR',       __DIR__ . '/../.cache/web');