Skip to content

Commit 019cc37

Browse files
committed
Working as a plugin as well
1 parent 93524ab commit 019cc37

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plugin.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<?php
22
/**
3-
* Plugin Name: WordPress Dispatcher.
3+
* Plugin Name: WordPress Dispatcher
44
* Plugin URI: https://github.com/timbofield/wordpress-dispatcher
55
* Description: Create URL endpoints within WordPress
66
* Version: 1.0
77
* Author: Tim Field
88
* Author URI: http://www.thefold.co.nz
99
* License: MIT
1010
*/
11-
require 'Dispatch.php';
11+
12+
require_once(__DIR__ . '/Dispatch.php');

0 commit comments

Comments
 (0)