Преглед изворни кода

:bug: config.php用绝对路径

visuddhinanda пре 4 година
родитељ
комит
c1f389a1e7
1 измењених фајлова са 1 додато и 1 уклоњено
  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 {