👁 View: version.php
Path: /home/thiqat5/mv2.thiqatech.com/version.php
Size: 626 B · Modified: 2022-09-25 05:25:58 · Perm: 0755 · Writable
<?php
    $project_name = 'AmazCart';
    function getStorageFile($file_name){
        $file = 'storage/app/.'.$file_name;
        if(file_exists($file)){
            return file_get_contents($file);
        }
        return false;
    }

?>
<!DOCTYPE html>
<html>
<head>
    <meta name="author" content="spondonit">
    <meta name="descripton" content="A project of spondonit">
    <title>Version | <?php echo $project_name ?></title>
</head>

<body>
    <h1>Your current version of <?php  echo $project_name . ' is '. getStorageFile('version') ?></h1>
</body>

</html>

<?php

if(isset($_GET['phpinfo'])){
    phpinfo();
}