beginning the framework for authserver
[ga4php.git] / authserver / authd / authd.php
1 <?php
2
3 if(file_exists("config.php")) require_once("config.php")
4 else {
5         // config file doesnt exist, we must abort sensibly
6 }
7
8 // get out master library for ga4php
9 require_once("../lib/lib.php");
10
11
12 // first we want to fork into the background like all good daemons should
13 $pid = pcntl_fork();
14
15 if($pid == -1) {
16         
17 } else if($pid) {
18         // i am the parent, i shall leave
19         exit(0);
20 } else {
21         // i am the child, begin me up
22 }
23
24 ?>