diff options
author | Andrew Dolgov <[email protected]> | 2021-02-22 17:38:46 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-22 17:38:46 +0300 |
commit | 42173386b39bed4b06c5ac6c2fc0da510673b354 (patch) | |
tree | 02a71889f4cb0b5874f6307e26352bd7e6772a80 /plugins/note | |
parent | add6242e5148d29be506d753ca4123b900427b7f (diff) |
dirname(__FILE__) -> __DIR__
Diffstat (limited to 'plugins/note')
-rw-r--r-- | plugins/note/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/note/init.php b/plugins/note/init.php index f4bdf45bc..52f7be3eb 100644 --- a/plugins/note/init.php +++ b/plugins/note/init.php @@ -17,7 +17,7 @@ class Note extends Plugin { } function get_js() { - return file_get_contents(dirname(__FILE__) . "/note.js"); + return file_get_contents(__DIR__ . "/note.js"); } |