Subversion Repositories ALCASAR

Rev

Rev 2809 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2809 Rev 3106
Line 15... Line 15...
15
 *
15
 *
16
 * You should have received a copy of the GNU General Public License
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
 */
18
 */
19
 
19
 
20
// Disable error reporting to screen
20
// Uncomment to enable error reporting to the screen
21
ini_set('display_errors', 0);
21
/*ini_set('display_errors', 1);
-
 
22
ini_set('display_startup_errors', 1);
22
error_reporting(E_ALL);
23
ferror_reporting(E_ALL);*/
23
 
24
 
24
// Set the default system Timezone
25
// Set the default system Timezone
25
date_default_timezone_set('Europe/London');
26
date_default_timezone_set('Europe/London');
26
 
27
 
27
// Path of vnstat
28
// Path of vnstat
28
$vnstat_bin_dir = '/usr/bin/vnstat';
29
$vnstat_bin_dir = '/usr/bin/vnstat';
29
 
30
 
-
 
31
// Path of config file
-
 
32
/*$vnstat_config = '/etc/vnstat.conf';*/
-
 
33
 
-
 
34
// linear or logarithmic graphs. Uncomment for logarithmic
-
 
35
/*$graph_type = 'log';*/
-
 
36
 
30
// Set to true to set your own interfaces
37
// Set to true to set your own interfaces
31
$use_predefined_interfaces = false;
38
$use_predefined_interfaces = false;
32
 
39
 
33
if ($use_predefined_interfaces == true) {
40
if ($use_predefined_interfaces == true) {
34
    $interface_list = ["eth0", "eth1"];
41
    $interface_list = ["eth0", "eth1"];