| @@ 60-61 (lines=2) @@ | ||
| 57 | die($mmessage); |
|
| 58 | ||
| 59 | // Fix for using the current directory as a path. |
|
| 60 | if (substr($sourcedir, 0, 1) == '.' && substr($sourcedir, 1, 1) != '.') |
|
| 61 | $sourcedir = dirname(__FILE__) . substr($sourcedir, 1); |
|
| 62 | ||
| 63 | // Have we already turned this off? If so, exist gracefully. |
|
| 64 | if (file_exists($cachedir . '/cron.lock')) |
|
| @@ 55-56 (lines=2) @@ | ||
| 52 | die($mmessage); |
|
| 53 | ||
| 54 | // Fix for using the current directory as a path. |
|
| 55 | if (substr($sourcedir, 0, 1) == '.' && substr($sourcedir, 1, 1) != '.') |
|
| 56 | $sourcedir = dirname(__FILE__) . substr($sourcedir, 1); |
|
| 57 | ||
| 58 | // Load the important includes. |
|
| 59 | require_once($sourcedir . '/QueryString.php'); |
|