Skip to content
Snippets Groups Projects
Verified Commit 80a662f9 authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

fix: correct traversing path to find templates


Signed-off-by: default avatarBart Jaskulski <bjaskulski@protonmail.com>
parent ef7e0c95
No related branches found
No related tags found
1 merge request!25replace dodgy path
Pipeline #157064 passed with stages
in 1 minute and 6 seconds
...@@ -4,5 +4,5 @@ if ( ! defined( 'ABSPATH' ) ) { ...@@ -4,5 +4,5 @@ if ( ! defined( 'ABSPATH' ) ) {
} // Exit if accessed directly } // Exit if accessed directly
?> ?>
<script type="text/javascript"> <script type="text/javascript">
<?php include dirname(__FILE__, 4) . '/assets/js/gutenberg.js'; ?> <?php include dirname(__FILE__, 5) . '/assets/js/gutenberg.js'; ?>
</script> </script>
...@@ -4,5 +4,5 @@ if ( ! defined( 'ABSPATH' ) ) { ...@@ -4,5 +4,5 @@ if ( ! defined( 'ABSPATH' ) ) {
} // Exit if accessed directly } // Exit if accessed directly
?> ?>
<script type="text/javascript"> <script type="text/javascript">
<?php include dirname(__FILE__, 4) . '/assets/js/notice.min.js'; ?> <?php include dirname(__FILE__, 5) . '/assets/js/notice.min.js'; ?>
</script> </script>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment