X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fonepoll.php;h=6ff7eae422e35063b1746d334cccc836a8fbeb76;hb=af587edaa79db106c43454a0e5b12255b7be7a36;hp=0e58a776ca2d1c47a801561cfc18c9d71dea5135;hpb=5d5d85eb4afff6237f1b88fae7df715392bca449;p=friendica.git diff --git a/include/onepoll.php b/include/onepoll.php index 0e58a776ca..6ff7eae422 100644 --- a/include/onepoll.php +++ b/include/onepoll.php @@ -18,10 +18,10 @@ function onepoll_run(&$argv, &$argc){ } if(is_null($db)) { - @include(".htconfig.php"); - require_once("include/dba.php"); - $db = new dba($db_host, $db_user, $db_pass, $db_data); - unset($db_host, $db_user, $db_pass, $db_data); + @include(".htconfig.php"); + require_once("include/dba.php"); + $db = new dba($db_host, $db_user, $db_pass, $db_data); + unset($db_host, $db_user, $db_pass, $db_data); }; @@ -679,6 +679,6 @@ function onepoll_run(&$argv, &$argc){ } if (array_search(__file__,get_included_files())===0){ - onepoll_run($_SERVER["argv"],$_SERVER["argc"]); - killme(); + onepoll_run($_SERVER["argv"],$_SERVER["argc"]); + killme(); }