From eb34f30880c12b3b0cc8698b7295ef8305dfb7f7 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Wed, 14 Apr 2021 22:52:56 +0100 Subject: [PATCH] fix: correct relative filepaths --- class/dashboard/layout.php | 2 +- class/init.php | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/class/dashboard/layout.php b/class/dashboard/layout.php index 61c9934..16d492e 100644 --- a/class/dashboard/layout.php +++ b/class/dashboard/layout.php @@ -217,7 +217,7 @@ abstract class MCI_Footnotes_Layout_Engine { array(), ( PRODUCTION_ENV ) ? C_STR_PACKAGE_VERSION : filemtime( plugin_dir_path( - dirname( __FILE__ ) + dirname( __FILE__, 2 ) ) . 'css/settings' . ( ( PRODUCTION_ENV ) ? '.min' : '' ) . '.css' ) ); diff --git a/class/init.php b/class/init.php index 5939040..ce57b02 100644 --- a/class/init.php +++ b/class/init.php @@ -436,7 +436,7 @@ class MCI_Footnotes { array(), filemtime( plugin_dir_path( - dirname( __FILE__ ) + dirname( __FILE__, 1 ) ) . 'css/dev-common.css' ) ); @@ -446,7 +446,7 @@ class MCI_Footnotes { array(), filemtime( plugin_dir_path( - dirname( __FILE__ ) + dirname( __FILE__, 1 ) ) . 'css/dev-tooltips.css' ) ); @@ -458,7 +458,7 @@ class MCI_Footnotes { array(), filemtime( plugin_dir_path( - dirname( __FILE__ ) + dirname( __FILE__, 1 ) ) . 'css/dev-amp-tooltips.css' ) ); @@ -471,7 +471,7 @@ class MCI_Footnotes { array(), filemtime( plugin_dir_path( - dirname( __FILE__ ) + dirname( __FILE__, 1 ) ) . 'css/dev-tooltips-alternative.css' ) ); @@ -487,7 +487,7 @@ class MCI_Footnotes { array(), filemtime( plugin_dir_path( - dirname( __FILE__ ) + dirname( __FILE__, 1 ) ) . 'css/dev-layout-' . $l_str_page_layout_option . '.css' ), 'all'