From fecdd50478d0a0d8a793231185d49f8eb09ccedd Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Thu, 29 May 2025 16:14:57 +0300 Subject: [PATCH] Update admin_robots.php --- admin/admin_robots.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/admin_robots.php b/admin/admin_robots.php index 012454498..ff9a49a60 100644 --- a/admin/admin_robots.php +++ b/admin/admin_robots.php @@ -33,7 +33,7 @@ if (isset($_POST['save'])) { } $current_content = ''; -if (file_exists($robots_file)) { +if (is_file($robots_file)) { $current_content = file_get_contents($robots_file); }