public static function execute()
 {
     $data = array('server' => trim(urldecode($_POST['server'])), 'username' => trim(urldecode($_POST['username'])), 'password' => trim(urldecode($_POST['password'])), 'database' => trim(urldecode($_POST['name'])), 'port' => trim(urldecode($_POST['port'])), 'class' => str_replace('_', '\\', trim(urldecode($_POST['class']))), 'table_prefix' => trim(urldecode($_POST['prefix'])), 'shop_name' => trim(urldecode($_POST['shop_name'])), 'shop_owner_name' => trim(urldecode($_POST['shop_owner_name'])), 'shop_owner_email' => trim(urldecode($_POST['shop_owner_email'])), 'admin_username' => trim(urldecode($_POST['admin_username'])), 'admin_password' => trim(urldecode($_POST['admin_password'])));
     try {
         Install::configureShop($data);
         $result = array('result' => true);
     } catch (\Exception $e) {
         $result = array('result' => false, 'error_message' => $e->getMessage());
     }
     echo json_encode($result);
 }