Location: PHPKode > projects > phpServerAdmin > phpserveradmin/pptpd/includes/definitions.php
<?php
	// Security precaution
	define( _PPTPD, "" );

	// PATHS
	define( TEMPLATES, ROOT."/templates");
	define( INCLUDES, ROOT."/includes");
	define( MODULES, ROOT."/modules");
	define( FUNCTIONS, ROOT."/functions");
	define( PLUGINS, ROOT."/plugins");
	
	// chap_secrets table
	define(TUNNEL_TABLE,"chap_secrets");
	define(TUNNEL_USERNAME,"cs_username");
	define(TUNNEL_PASSWORD,"cs_password");
	define(TUNNEL_VPNSERVER,"cs_server");
	define(TUNNEL_VPNIP,"cs_vpnip");
	define(TUNNEL_DEVICE,"cs_pppdevice");
	define(TUNNEL_COMM,"cs_comments");
	define(TUNNEL_CONTROL,"cs_control");
	define(TUNNEL_LASTONLINE,"cs_lastonline");
	define(TUNNEL_DURATION,"cs_duration");
	define(TUNNEL_LASTNETIP,"cs_netip");
	define(TUNNEL_TOTALDOWNLOADED,"cs_totaldownloaded");
	define(TUNNEL_TOTALUPLOADED,"cs_totaluploaded");
	define(TUNNEL_LASTUPDATED,"cs_lastupdated");
	define(TUNNEL_ENABLED,"cs_control");
	define(TUNNEL_STATUS,"cs_status");
	
	// Admin Accounts
	define(ACC_USERNAME,"username");
	define(ACC_PASSWORD,"password");
	define(ACC_ROLE,"accesslevel");

	// Logs
	define(LOG_ACCID,"adminid");
	define(LOG_STATUS,"status");
	define(LOG_MESSAGE,"message");
	define(LOG_MODIFIED,"modified");

?>
Return current item: phpServerAdmin