www.gusucode.com > 网猫影视系统NetMao Movie 4.6.6 开源版源码程序 > upload/inc/common.php
<?php /* *###################################### * Netmao Movie 4.x - NetMao Movie System * Copyright (c) 2007-2008 NetMao.cn * For further information go to http://www.netmao.cn/ * This copyright notice must stay intact for use. *###################################### */ error_reporting(E_ERROR | E_WARNING | E_PARSE); set_magic_quotes_runtime(0); @ini_set('session.bug_compat_42','Off'); @ini_set('session.bug_compat_warn','Off'); define('IN_NetMao', TRUE); define('NetMao_ROOT', substr(dirname(__FILE__), 0, -3)); $PHP_SELF = $_SERVER['PHP_SELF'] ? $_SERVER['PHP_SELF'] : $_SERVER['SCRIPT_NAME']; $rootpath = str_replace("\\","/",dirname($PHP_SELF)); define('ROOTDIR', strlen($rootpath)>1 ? $rootpath : ''); require_once NetMao_ROOT.'./inc/common.inc.php'; ?>