private function load_all_extensions() { $parent = null; self::$current_declaring_source = 'framework'; self::load_extensions(fw_get_framework_directory('/extensions'), $parent, self::$all_extensions_tree, self::$all_extensions, fw_get_framework_directory_uri('/extensions'), 1); self::$current_declaring_source = 'parent'; self::load_extensions(fw_get_template_customizations_directory('/extensions'), $parent, self::$all_extensions_tree, self::$all_extensions, fw_get_template_customizations_directory_uri('/extensions'), 1); if (is_child_theme()) { self::$current_declaring_source = 'child'; self::load_extensions(fw_get_stylesheet_customizations_directory('/extensions'), $parent, self::$all_extensions_tree, self::$all_extensions, fw_get_stylesheet_customizations_directory_uri('/extensions'), 1); } self::$current_declaring_source = null; }
private function load_all_extensions() { $parent = null; self::$current_declaring_source = 'framework'; self::load_extensions(FW_DIR . '/extensions', $parent, self::$all_extensions_tree, self::$all_extensions, FW_EXTENSIONS_URI, 1); self::$current_declaring_source = 'parent'; self::load_extensions(FW_PT_CUSTOM_DIR . '/extensions', $parent, self::$all_extensions_tree, self::$all_extensions, FW_PT_EXTENSIONS_URI, 1); if (FW_CT) { self::$current_declaring_source = 'child'; self::load_extensions(FW_CT_CUSTOM_DIR . '/extensions', $parent, self::$all_extensions_tree, self::$all_extensions, FW_CT_EXTENSIONS_URI, 1); } self::$current_declaring_source = null; }