replace document root to ___DIR__

This commit is contained in:
rsgrinko committed 2021-12-06 22:10:39 +03:00
1 parent 471f24a736
commit c8b83035e7
11 files changed
+23 -23

No files matched your search

+1 -1
View File
@@ -140,5 +140,5 @@ if(CCache::checkCache($cacheId)) {
</script>
<?php
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/footer.php';
require_once __DIR__ . '/inc/footer.php';
?>