<?php

if (!defined('ACCESSCONST')) {
    die("Access denied !");
}

  function openvpn_version() {

     $getverinit = exec("dpkg -s openvpn | grep Version");
     $getversec = explode(":", $getverinit);
     $getvertert = explode("-", $getversec[1]);
     $finalversion = $getvertert[0];

     return $finalversion;
  }

?>
