diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..04a9adc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +ipmagnet.ini.php diff --git a/README.txt b/README.txt index 5d523ac..1b82e69 100644 --- a/README.txt +++ b/README.txt @@ -22,13 +22,14 @@ Requirements Setup Clone the repo into a folder that is available by the httpd. - Edit index.php - Change the tracker URL (line 2) to point to the public + Optionally, copy the sample config file (ipmagnet.ini.php-sample) + to ipmagnet.ini.php and change its settings. Options include: + Change the tracker URL to point to the public location of the index.php file. - Optionally edit the database path (line 3) if you do not - want to have the database in the same folder for security - reasons. + Change the database path to point to the location of the + ipmagnet.db3 file if you want to have the database in a + different folder than index.php for security reasons. If you'd like to set a timeout after which clients should recheck their IP against the tracking link, set $enableInterval to true on line 4. diff --git a/index.php b/index.php index 6a5b395..333d353 100755 --- a/index.php +++ b/index.php @@ -1,6 +1,14 @@