Commit eba63ef8078170c0db362459c2b6e5ecc3c1c41d

Authored by Jarrett Jordaan
1 parent a6520b78

Updated install type detection.

Committed by: Jarrett Jordaan

Reviewed by: Megan Watson
setup/wizard/steps/license.php
@@ -54,7 +54,7 @@ class license extends step { @@ -54,7 +54,7 @@ class license extends step {
54 public function doStep() { 54 public function doStep() {
55 $this->temp_variables = array("step_name"=>"license"); 55 $this->temp_variables = array("step_name"=>"license");
56 $license = "resources".DS."license".DS.INSTALL_TYPE."_license.txt"; 56 $license = "resources".DS."license".DS.INSTALL_TYPE."_license.txt";
57 - $this->temp_variables['licensePath'] = realpath(); 57 + $this->temp_variables['licensePath'] = realpath($license);
58 if(!$this->inStep("license")) { 58 if(!$this->inStep("license")) {
59 return 'landing'; 59 return 'landing';
60 } 60 }