Changeset 9147 for extensions/whois_online/online.php
- Timestamp:
- Feb 10, 2011, 1:48:53 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/whois_online/online.php
r6201 r9147 3 3 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 4 4 global $conf, $conf_whois, $prefixeTable; 5 $path = WHOIS_ONLINE_PATH; 6 $plg_data = implode( '', file($path.'main.inc.php') ); 7 if (preg_match("|Version: (.*)|", $plg_data, $val)) 8 { 9 $Whois_online_ver = trim($val[1]); 10 } 11 12 define('WHOIS_ONLINE_VER', $Whois_online_ver); 5 13 include_once(WHOIS_ONLINE_PATH.'include/wo_functions.inc.php'); 6 14 7 15 define('ONLINE_LEVEL', (100+$conf_whois['Delete level'])/100); 8 16 define('ONLINE_LIMIT', $conf_whois['Obsolete limit']); 17 18 19 20 21 9 22 10 23 /* Admin menus are always available */
Note: See TracChangeset
for help on using the changeset viewer.