Changes adopted from version 0.4
This commit is contained in:
125
config.php
125
config.php
@@ -1,52 +1,89 @@
|
||||
<?php
|
||||
/*****************************************************************************
|
||||
IP Reg, a PHP/MySQL IPAM tool
|
||||
Copyright (C) 2008 Wietse Warendorff
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
For more information, visit http://sourceforge.net/projects/ipreg,
|
||||
or contact me at wietsew@users.sourceforge.net
|
||||
*****************************************************************************/
|
||||
|
||||
// version
|
||||
$config_version = 'v0.3';
|
||||
$config_version = 'v0.4b';
|
||||
|
||||
// db connection
|
||||
$mysql_host = "localhost";
|
||||
$mysql_username = "db_user";
|
||||
$mysql_password = "db_pass";
|
||||
$mysql_dbname = "db_name";
|
||||
$config_mysql_host = "localhost";
|
||||
$config_mysql_username = '';
|
||||
$config_mysql_password = '';
|
||||
$config_mysql_dbname = '';
|
||||
|
||||
// standard password for new users
|
||||
$config_user_lang = "en";
|
||||
$config_user_pass = "welcome";
|
||||
|
||||
// set userlevels
|
||||
$config_userlevel_assetadd = 2;
|
||||
$config_userlevel_assetdel = 2;
|
||||
$config_userlevel_assetedit = 2;
|
||||
$config_userlevel_assetview = 1;
|
||||
$config_userlevel_assetclassadd = 2;
|
||||
$config_userlevel_assetclassdel = 2;
|
||||
$config_userlevel_assetclassedit = 2;
|
||||
$config_userlevel_assetclassview = 1;
|
||||
$config_userlevel_assetclassgroupadd = 2;
|
||||
$config_userlevel_assetclassgroupdel = 2;
|
||||
$config_userlevel_assetclassgroupedit = 2;
|
||||
$config_userlevel_assetclassgroupview = 1;
|
||||
$config_userlevel_locationadd = 2;
|
||||
$config_userlevel_locationdel = 2;
|
||||
$config_userlevel_locationedit = 2;
|
||||
$config_userlevel_locationview = 1;
|
||||
$config_userlevel_nodeadd = 2;
|
||||
$config_userlevel_nodedel = 2;
|
||||
$config_userlevel_nodeedit = 2;
|
||||
$config_userlevel_nodeview = 1;
|
||||
$config_userlevel_subnetadd = 2;
|
||||
$config_userlevel_subnetdel = 2;
|
||||
$config_userlevel_subnetedit = 2;
|
||||
$config_userlevel_subnetview = 1;
|
||||
$config_userlevel_useradd = 2;
|
||||
$config_userlevel_userdel = 2;
|
||||
$config_userlevel_useredit = 2;
|
||||
$config_userlevel_userview = 1;
|
||||
$config_userlevel_vlanadd = 2;
|
||||
$config_userlevel_vlandel = 2;
|
||||
$config_userlevel_vlanedit = 2;
|
||||
$config_userlevel_vlanview = 1;
|
||||
// default settings for new users
|
||||
$config_user_lang = 'en';
|
||||
$config_user_pass = 'welcome';
|
||||
|
||||
// domain suffix for dns input fields
|
||||
$config_dns1suffix = '.yourdomain.com';
|
||||
$config_dns2suffix = '.yourdomain.com';
|
||||
$config_dns1suffix = '.domain.com';
|
||||
$config_dns2suffix = '.domain.com';
|
||||
|
||||
// default colors for IP blocks
|
||||
$config_color_blocked = 'FFFFFF';
|
||||
$config_color_unused = 'D3D3D3';
|
||||
|
||||
// set userlevels
|
||||
$config_auth_assetadd = 2;
|
||||
$config_auth_assetdel = 2;
|
||||
$config_auth_assetedit = 2;
|
||||
$config_auth_assetview = 1;
|
||||
$config_auth_assetclassadd = 2;
|
||||
$config_auth_assetclassdel = 2;
|
||||
$config_auth_assetclassedit = 2;
|
||||
$config_auth_assetclassview = 1;
|
||||
$config_auth_assetclassgroupadd = 2;
|
||||
$config_auth_assetclassgroupdel = 2;
|
||||
$config_auth_assetclassgroupedit = 2;
|
||||
$config_auth_assetclassgroupview = 1;
|
||||
$config_auth_assigniptoasset = 2;
|
||||
$config_auth_assigniptonode = 2;
|
||||
$config_auth_assignlocationtosubnet = 2;
|
||||
$config_auth_assignvlantosubnet = 2;
|
||||
$config_auth_locationadd = 2;
|
||||
$config_auth_locationdel = 2;
|
||||
$config_auth_locationedit = 2;
|
||||
$config_auth_locationview = 1;
|
||||
$config_auth_nodeadd = 2;
|
||||
$config_auth_nodedel = 2;
|
||||
$config_auth_nodeedit = 2;
|
||||
$config_auth_nodeview = 1;
|
||||
$config_auth_subnetadd = 2;
|
||||
$config_auth_subnetdel = 2;
|
||||
$config_auth_subnetedit = 2;
|
||||
$config_auth_subnetview = 1;
|
||||
$config_auth_useradd = 2;
|
||||
$config_auth_userdel = 2;
|
||||
$config_auth_useredit = 2;
|
||||
$config_auth_userview = 1;
|
||||
$config_auth_userclassadd = 2;
|
||||
$config_auth_userclassdel = 2;
|
||||
$config_auth_userclassedit = 2;
|
||||
$config_auth_userclassview = 1;
|
||||
$config_auth_userclassauthadd = 2;
|
||||
$config_auth_userclassauthdel = 2;
|
||||
$config_auth_userclassauthedit = 2;
|
||||
$config_auth_userclassauthview = 1;
|
||||
$config_auth_vlanadd = 2;
|
||||
$config_auth_vlandel = 2;
|
||||
$config_auth_vlanedit = 2;
|
||||
$config_auth_vlanview = 1;
|
||||
?>
|
||||
Reference in New Issue
Block a user