PluginProbe ʕ •ᴥ•ʔ
WP Mail SMTP by WPForms – The Most Popular SMTP and Email Log Plugin / 3.4.0
WP Mail SMTP by WPForms – The Most Popular SMTP and Email Log Plugin v3.4.0
0.9.6 1.0.0 1.0.1 1.0.2 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.6.0 1.6.2 1.7.0 1.7.1 1.8.0 1.8.1 1.9.0 2.0.0 2.0.1 2.1.1 2.2.1 2.3.1 2.4.0 2.5.0 2.5.1 2.6.0 2.7.0 2.8.0 2.9.0 3.0.1 3.0.2 3.0.3 3.1.0 3.10.0 3.11.0 3.11.1 3.2.0 3.2.1 3.3.0 3.4.0 3.5.0 3.5.1 3.5.2 3.6.1 3.7.0 3.8.0 3.8.2 3.9.0 4.0.1 4.1.0 4.1.1 4.2.0 4.3.0 4.4.0 4.5.0 4.6.0 4.7.0 4.7.1 4.8.0 trunk 0.10.0 0.10.1 0.11.1 0.11.2 0.3.1 0.3.2 0.4 0.4.1 0.4.2 0.5.0 0.5.1 0.5.2 0.6 0.7 0.8 0.8.2 0.8.3 0.8.4 0.8.5 0.8.6 0.8.7 0.9.0 0.9.1 0.9.2 0.9.3 0.9.4 0.9.5
wp-mail-smtp / vendor_prefixed / google / auth / autoload.php
wp-mail-smtp / vendor_prefixed / google / auth Last commit date
src 4 years ago LICENSE 4 years ago autoload.php 4 years ago
autoload.php
36 lines
1 <?php
2
3 namespace WPMailSMTP\Vendor;
4
5 /*
6 * Copyright 2014 Google Inc.
7 *
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 */
20 function oauth2client_php_autoload($className)
21 {
22 $classPath = \explode('_', $className);
23 if ($classPath[0] != 'Google') {
24 return;
25 }
26 if (\count($classPath) > 3) {
27 // Maximum class file path depth in this project is 3.
28 $classPath = \array_slice($classPath, 0, 3);
29 }
30 $filePath = \dirname(__FILE__) . '/src/' . \implode('/', $classPath) . '.php';
31 if (\file_exists($filePath)) {
32 require_once $filePath;
33 }
34 }
35 \spl_autoload_register('oauth2client_php_autoload');
36