Skip to content

Commit 96fea44

Browse files
committed
remove check for license folder
1 parent b003acf commit 96fea44

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

admin/index.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,6 @@
184184
print "<div style=\"border:1px solid;color: #D8000C;background-color: #FFBABA;padding:3px;text-align:center;margin:0;\">Installation folder exists at /install , Please delete it</div>";
185185
}
186186

187-
if($license_properties['expire']['value'] && $license_properties['expire']['value'] != "0000-00-00"){
188-
$remaining_days = floor((strtotime($license_properties['expire']['value']) - time()) / (24*60*60));
189-
print "<div style=\"border:1px solid;color: #9F6000;background-color: #F9F0B5;padding:3px;text-align:center;margin:0;direction:ltr;\">The license will expire on : {$license_properties['expire']['value']} ($remaining_days days)</div>";
190-
}
191187

192188
?>
193189

install/index.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
$product_name = "E-Store";
99
$product_ver = "1.0";
1010

11-
$files_perms = array("config.php","data/","license/");
11+
$files_perms = array("config.php","data/");
1212

1313
$steps = array(1 => 'Server Requirements' , 2=> 'Configuration' , 3=> 'Database Clean' , 4=> 'Database Installation' , 5=> 'Installation Done');
1414
$step = (int) $_REQUEST['step'];
@@ -389,11 +389,7 @@ function print_step_4(){
389389

390390

391391
function print_step_5(){
392-
print "<span class='success'>Installation done successfully.</span>
393-
<br><br>
394-
<form action='../license_gen.php' method='post'>
395-
<input type='submit' value='Activate your License'>
396-
</form>";
392+
print "<span class='success'>Installation done successfully.</span>";
397393

398394
}
399395

0 commit comments

Comments
 (0)