Files
wticreatorstudio/version.php
Fritz Ramirez 10d0c477c8 Initial commit
2024-02-12 22:54:20 -05:00

28 lines
574 B
PHP

<?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>