Skip to content
Snippets Groups Projects
Commit b0276e36 authored by ='s avatar =
Browse files

dynamic path

parent b6a4a574
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
*/ */
// Wait this many seconds between loops // Wait this many seconds between loops
$sleep = 5; $sleep = 5;
$app_dir = "/home/anton/www/busmap.ant.sr/"; $app_dir = realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
error_reporting(E_ALL); error_reporting(E_ALL);
require_once "System/Daemon.php"; require_once "System/Daemon.php";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment