implement usage of __DIR__ to fix references on include
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
require_once("../database.php");
|
||||
require_once(__DIR__ . "/../database.php");
|
||||
$response = new stdClass;
|
||||
try {
|
||||
$inputJSON = file_get_contents('php://input');
|
||||
|
||||
Reference in New Issue
Block a user