Tag: AUTOLOAD_NAMESPACE
-
Post Views: 57 1. SDK installation github address: https://github.com/aliyun/aliyun-oss-php-sdk 2. Copy aliyun-oss-php-sdk-master\src\oss to passport.hmwis.com\thinkphp\library\vendor\oss, as shown in Figure 1 and 2 3. Register a new namespace OSS and edit the file passport.hmwis.com\application\common\conf\config.php, as shown in Figure 3 autoload_namespace=> array(additions=>OneThink_Addon_Path,oss=> Vendor_Path.oss), // Extension Module List 4. When instantiating the class library below the OSS, such as new oss\ossclient(); The corresponding class…