about summary refs log tree commit diff stats
path: root/update.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-05-24 17:16:05 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-05-24 17:16:05 +0300
commit6f660eedb640eaa31e75cfd2543692d7f494ddd6 (patch)
treebf5a6d43ae77daf7a63d5c1770ec5dac6af5bc06 /update.php
parent8ca1fb36999b0e2eceed1388d1a1f7cc115a2f3c (diff)
downloadthe-epube-6f660eedb640eaa31e75cfd2543692d7f494ddd6.tar.gz
the-epube-6f660eedb640eaa31e75cfd2543692d7f494ddd6.tar.xz
fix phpstan issues
Diffstat (limited to 'update.php')
-rw-r--r--update.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/update.php b/update.php
index fda9ecf..c0b4d30 100644
--- a/update.php
+++ b/update.php
@@ -5,12 +5,9 @@
 		exit;
 	}
 
-	set_include_path(__DIR__ ."/include" . PATH_SEPARATOR .
-		get_include_path());
-
 	chdir(__DIR__);
 
-	require_once "common.php";
+	require_once __DIR__ . "/include/common.php";
 
 	Config::sanity_check();