| @@ -1,12 +1,12 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -namespace ImageOptimizer; | |
| 3 | +namespace ImageOptimization; | |
| 4 | 4 | |
| 5 | -use ImageOptimizer\Classes\Module_Base; | |
| 5 | +use ImageOptimization\Classes\Module_Base; | |
| 6 | 6 | |
| 7 | 7 | if ( ! defined( 'ABSPATH' ) ) { |
| 8 | - exit; // Exit if accessed directly | |
| 8 | + exit; // Exit if accessed directly. | |
| 9 | 9 | } |
| 10 | 10 | |
| 11 | 11 | final class Manager { |
| 12 | 12 | /** |
| @@ -15,14 +15,18 @@ | ||
| 15 | 15 | private array $modules = []; |
| 16 | 16 | |
| 17 | 17 | public static function get_module_list(): array { |
| 18 | 18 | return [ |
| 19 | - 'settings', | |
| 20 | 19 | 'core', |
| 20 | + 'connect', | |
| 21 | 21 | 'Oauth', |
| 22 | + 'connect-manager', | |
| 23 | + 'settings', | |
| 22 | 24 | 'stats', |
| 23 | 25 | 'optimization', |
| 24 | 26 | 'backups', |
| 27 | + 'Deactivation', | |
| 28 | + 'reviews', | |
| 25 | 29 | ]; |
| 26 | 30 | } |
| 27 | 31 | |
| 28 | 32 | /** |
| @@ -63,7 +67,7 @@ | ||
| 63 | 67 | return $this->modules; |
| 64 | 68 | } |
| 65 | 69 | |
| 66 | 70 | public function include_external_libraries() { |
| 67 | - require_once IMAGE_OPTIMIZER_PATH . 'vendor/woocommerce/action-scheduler/action-scheduler.php'; | |
| 71 | + require_once IMAGE_OPTIMIZATION_PATH . 'vendor/woocommerce/action-scheduler/action-scheduler.php'; | |
| 68 | 72 | } |
| 69 | 73 | } |