Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Commit 1d1955c

Browse files
committed
raw field config fix
Signed-off-by: Kevin Provance <[email protected]>
1 parent e1b4778 commit 1d1955c

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

sample/sample-config.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,12 @@
1818
// Uncomment to disable demo mode.
1919
/* Redux::disable_demo(); */ // phpcs:ignore Squiz.PHP.CommentedOutCode
2020

21-
$dir = dirname( __FILE__ ) . '/';
21+
$dir = dirname( __FILE__ ) . DIRECTORY_SEPARATOR;
2222

2323
/*
2424
* --> Used within different fields. Simply examples. Search for ACTUAL DECLARATION for field examples
2525
*/
2626

27-
$sample_html = '';
28-
if ( file_exists( $dir . '/info-html.html' ) ) {
29-
$fs = Redux_Filesystem::get_instance();
30-
if ( method_exists( $fs, 'get_contents' ) ) {
31-
$sample_html = $fs->execute( 'get_contents', $dir . '/info-html.html' );
32-
}
33-
}
34-
3527
// Background Patterns Reader.
3628
$sample_patterns_path = Redux_Core::$dir . '../sample/patterns/';
3729
$sample_patterns_url = Redux_Core::$url . '../sample/patterns/';

0 commit comments

Comments
 (0)