HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: root (0)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/lcc.kaunokolegija.lt/wp-content/plugins/photo-gallery/admin/controllers/Licensing.php
<?php

/**
 * Class LicensingController_bwg
 */
class LicensingController_bwg {
  private $view;
  public function __construct() {
    require_once BWG()->plugin_dir . "/admin/views/Licensing.php";
    $this->view = new LicensingView_bwg();
  }

  public function execute() {
    $task = WDWLibrary::get('task');
    if (method_exists($this, $task)) {
      $this->$task();
    }
    else {
      $this->display();
    }
  }

  public function display() {
    $this->view->display();
  }
}