@@ -18,7 +18,7 @@ |
||
| 18 | 18 | * |
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | -require_once __DIR__ . '/vendor/autoload.php'; |
|
| 21 | +require_once __DIR__.'/vendor/autoload.php'; |
|
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | 24 | * DokuWiki Plugin geophp (Helper Component). This pseudohelper provides access to geoPHP. |
@@ -33,8 +33,8 @@ discard block |
||
| 33 | 33 | $conf['allowdebug'] = 1; |
| 34 | 34 | $conf['cachetime'] = -1; |
| 35 | 35 | |
| 36 | - if($conf['allowdebug']) { |
|
| 37 | - touch(DOKU_TMP_DATA . 'cache/debug.log'); |
|
| 36 | + if ($conf['allowdebug']) { |
|
| 37 | + touch(DOKU_TMP_DATA.'cache/debug.log'); |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | plugin_load('helper', 'geophp'); |
@@ -51,10 +51,10 @@ discard block |
||
| 51 | 51 | |
| 52 | 52 | global $conf; |
| 53 | 53 | // try to get the debug log after running the test, print and clear |
| 54 | - if($conf['allowdebug']) { |
|
| 54 | + if ($conf['allowdebug']) { |
|
| 55 | 55 | print "\n"; |
| 56 | - readfile(DOKU_TMP_DATA . 'cache/debug.log'); |
|
| 57 | - unlink(DOKU_TMP_DATA . 'cache/debug.log'); |
|
| 56 | + readfile(DOKU_TMP_DATA.'cache/debug.log'); |
|
| 57 | + unlink(DOKU_TMP_DATA.'cache/debug.log'); |
|
| 58 | 58 | } |
| 59 | 59 | } |
| 60 | 60 | } |