check script extension
This commit is contained in:
parent
0d9bbabf47
commit
1a306ee9e1
|
@ -195,6 +195,12 @@ function lamRunLamdaemonTestSuite($serverName, $serverTitle, $testQuota, $contai
|
||||||
$container->addElement(new htmlOutputText(_("No lamdaemon path set, please update your LAM configuration settings.")), true);
|
$container->addElement(new htmlOutputText(_("No lamdaemon path set, please update your LAM configuration settings.")), true);
|
||||||
$stopTest = true;
|
$stopTest = true;
|
||||||
}
|
}
|
||||||
|
elseif (substr($_SESSION['config']->get_scriptPath(), -3) != '.pl') {
|
||||||
|
$container->addElement(new htmlImage($failImage));
|
||||||
|
$container->addElement($spacer);
|
||||||
|
$container->addElement(new htmlOutputText(_("Lamdaemon path does not end with \".pl\". Did you enter the full path to the script?")), true);
|
||||||
|
$stopTest = true;
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
$container->addElement(new htmlImage($okImage));
|
$container->addElement(new htmlImage($okImage));
|
||||||
$container->addElement($spacer);
|
$container->addElement($spacer);
|
||||||
|
|
Loading…
Reference in New Issue