Browse Source

:bug: config.php用绝对路径

visuddhinanda 4 năm trước cách đây
mục cha
commit
c1f389a1e7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      public/app/redis/function.php

+ 1 - 1
public/app/redis/function.php

@@ -1,5 +1,5 @@
 <?php
-require_once "../config.php";
+require_once __DIR__."/../config.php";
 function redis_connect()
 {
 	try {