Skip to content

Commit e462f08

Browse files
committed
relative require path => absolute path
1 parent 1c56256 commit e462f08

9 files changed

+9
-9
lines changed

examples/bucket_mgr.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require_once '../autoload.php';
2+
require_once __DIR__ . '/../autoload.php';
33

44
use Qiniu\Auth;
55
use Qiniu\Storage\BucketManager;

examples/callback.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require_once '../autoload.php';
2+
require_once __DIR__ . '/../autoload.php';
33

44
use Qiniu\Auth;
55

examples/download_token.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require_once '../autoload.php';
2+
require_once __DIR__ . '/../autoload.php';
33

44
use Qiniu\Auth;
55

examples/fetch.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require_once '../autoload.php';
2+
require_once __DIR__ . '/../autoload.php';
33

44
use Qiniu\Auth;
55
use Qiniu\Storage\BucketManager;

examples/list_file.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require_once '../autoload.php';
2+
require_once __DIR__ . '/../autoload.php';
33

44
use Qiniu\Auth;
55
use Qiniu\Storage\BucketManager;

examples/mkzip.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require_once '../autoload.php';
2+
require_once __DIR__ . '/../autoload.php';
33

44
use Qiniu\Auth;
55
use Qiniu\Processing\PersistentFop;

examples/pfop.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require_once '../autoload.php';
2+
require_once __DIR__ . '/../autoload.php';
33

44
use Qiniu\Auth;
55
use Qiniu\Processing\PersistentFop;

examples/up.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require_once '../autoload.php';
2+
require_once __DIR__ . '/../autoload.php';
33

44
use Qiniu\Auth;
55
use Qiniu\Storage\UploadManager;

examples/upload_token.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require_once '../autoload.php';
2+
require_once __DIR__ . '/../autoload.php';
33

44
use Qiniu\Auth;
55

0 commit comments

Comments
 (0)