修正require_once文件的路径

修正require_once文件的路径, 考虑跨平台
pull/7/head
wujunze 2017-11-02 06:11:09 -05:00 committed by GitHub
parent 427fcbb9a4
commit 9dd15cb938
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<?php
require_once(dirname(__FILE__) . 'device.php');
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'device.php');
?>
<html>
<head>