<?php

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

  function phpmyadmin_version() {

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

     return $finalversion;
  }

?>
