From f330ae07b7d0de5cc902c0b2e82462131f7e8920 Mon Sep 17 00:00:00 2001 From: Kevin Pliester <5339107+pixelbart@users.noreply.github.com> Date: Sat, 25 Jun 2022 14:18:51 +0200 Subject: [PATCH] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d9260f6..bd88ad3 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ include 'class-filecombiner.php'; // CSS -$source = get_stylesheet_directory() . '/test/source'; -$target = get_stylesheet_directory() . '/test/combined.css'; +$source = '/test/source'; +$target = '/test/combined.css'; $combiner = new FileCombiner($source, $target, '.css'); @@ -21,8 +21,8 @@ $combiner->watch(); // JS -$source = get_stylesheet_directory() . '/test/source'; -$target = get_stylesheet_directory() . '/test/combined.js'; +$source = '/test/source'; +$target = '/test/combined.js'; $combiner = new FileCombiner($source, $target, '.js'); @@ -78,8 +78,8 @@ function removeUnnecessaryThings($content) return preg_replace('/\s*/m', '', $content); } -$source = get_stylesheet_directory() . '/test/source'; -$target = get_stylesheet_directory() . '/test/combined.css'; +$source = '/test/source'; +$target = '/test/combined.css'; $combiner = new FileCombiner($source, $target, '.css');