mirror of
https://ghproxy.net/https://github.com/michelve/software-license-manager.git
synced 2025-10-04 02:06:37 +08:00
17 lines
No EOL
401 B
PHP
Executable file
17 lines
No EOL
401 B
PHP
Executable file
<?php
|
|
class WOO_SLM {
|
|
private static $instance;
|
|
public static function instance() {
|
|
if (!self::$instance) {
|
|
self::$instance = new WOO_SLM();
|
|
self::$instance->includes();
|
|
}
|
|
return self::$instance;
|
|
}
|
|
|
|
private function includes() {
|
|
require_once SLM_WOO . 'includes/register-template.php';
|
|
require_once SLM_WOO . 'includes/purchase.php';
|
|
}
|
|
}
|
|
return WOO_SLM::instance(); |