diff --git a/index.php b/index.php index c00fee3..5d05237 100644 --- a/index.php +++ b/index.php @@ -7,6 +7,7 @@ use Krzysiej\RyobiCrawler\Models\Price; use Krzysiej\RyobiCrawler\Models\Product; if (php_sapi_name() !== 'cli') { + header('Location: browser.php'); echo 'Execute this script in cli only'; exit; }