projects
/
weathermon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Добавлено скрытие в веб-интерфейсе ненужных данных (типа срабатывания датчика присутс...
[weathermon.git]
/
web
/
config_local.php
diff --git
a/web/config_local.php
b/web/config_local.php
index c087aeac5fe31b4b7701dac6b3ad41cc716c940c..d6cce97947bfa30399bdc49702bf09383ba64cbf 100644
(file)
--- a/
web/config_local.php
+++ b/
web/config_local.php
@@
-1,12
+1,14
@@
<?php
<?php
- $mysql_host = 'host
name
';
+ $mysql_host = 'host';
$mysql_schema = 'meteo';
$mysql_user = 'meteo';
$mysql_schema = 'meteo';
$mysql_user = 'meteo';
- $mysql_pwd = '
***
';
+ $mysql_pwd = '
somestrongpasswd
';
$mysql_port = 3306;
$mysql_port = 3306;
-
+
setlocale(LC_ALL,'ru_RU.UTF8');
setlocale(LC_ALL,'ru_RU.UTF8');
-
-?>
-
\ No newline at end of file
+
+ $valid_ip_start = ip2long('192.168.1.0');
+ $valid_ip_end = ip2long('192.168.1.255');
+
+?>
\ No newline at end of file