@@ -7,18 +7,18 @@ |
||
| 7 | 7 | * @author Marius Rieder <[email protected]> |
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | -if(!defined('DOKU_INC')) die(); |
|
| 11 | -if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/'); |
|
| 10 | +if (!defined('DOKU_INC')) die(); |
|
| 11 | +if (!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN', DOKU_INC.'lib/plugins/'); |
|
| 12 | 12 | require_once(DOKU_PLUGIN.'action.php'); |
| 13 | 13 | |
| 14 | 14 | class action_plugin_webmaster extends DokuWiki_Action_Plugin { |
| 15 | 15 | |
| 16 | 16 | function register(Doku_Event_Handler $controller) { |
| 17 | - $controller->register_hook('TPL_METAHEADER_OUTPUT','BEFORE',$this,'addVerifyHeaders',array()); |
|
| 17 | + $controller->register_hook('TPL_METAHEADER_OUTPUT', 'BEFORE', $this, 'addVerifyHeaders', array()); |
|
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | function addVerifyHeaders(&$event, $param) { |
| 21 | - if(empty($event->data)||empty($event->data['meta'])) return; |
|
| 21 | + if (empty($event->data)||empty($event->data['meta'])) return; |
|
| 22 | 22 | |
| 23 | 23 | /* Google */ |
| 24 | 24 | $g = $this->getConf('webmaster_google'); |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | * Simple test to make sure the plugin.info.txt is in correct format |
| 30 | 30 | */ |
| 31 | 31 | public function test_plugininfo() { |
| 32 | - $file = __DIR__ . '/../plugin.info.txt'; |
|
| 32 | + $file = __DIR__.'/../plugin.info.txt'; |
|
| 33 | 33 | $this->assertFileExists($file); |
| 34 | 34 | |
| 35 | 35 | $info = confToHash($file); |