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..9ec56a8f1a2a360c0d0a0108cb4e8b8689f52556 100644
(file)
--- a/
web/config_local.php
+++ b/
web/config_local.php
@@
-1,12
+1,14
@@
<?php
<?php
- $mysql_host = '
host
name';
+ $mysql_host = '
rvb.
name';
$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