From f4ded3da5c6d958380f89c78f7f5ea3d7050347d Mon Sep 17 00:00:00 2001 From: agung-wete Date: Wed, 24 Jun 2020 10:22:45 +0700 Subject: [PATCH] Use full path for require custom/functions.php Fix #24, also maybe fix #27, #26 --- theme-customisations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme-customisations.php b/theme-customisations.php index c5e3ff8..fb2f810 100755 --- a/theme-customisations.php +++ b/theme-customisations.php @@ -31,7 +31,7 @@ final class Theme_Customisations { */ public function __construct() { add_action( 'init', array( $this, 'theme_customisations_setup' ), -1 ); - require_once( 'custom/functions.php' ); + require_once( __DIR__ . '/custom/functions.php' ); } /**