Project

General

Profile

« Previous | Next » 

Revision dc3e6dea

Added by Scott Ullrich almost 15 years ago

Unbreak An error occurred

View differences:

usr/local/www/installer.php
250 250
	// Check for error and bail if we see one.
251 251
	if(stristr($status, "error")) {
252 252
		$error = true;
253
		echo "\$('installerrunning').innerHTML='<img class=\"infoboxnpimg\" src=\"/themes/{$g['theme']}/images/icons/icon_exclam.gif\"> <font size=\"2\"><b>An error occurred.  Aborting installation.  <a href='installer.php'>Back</a> to webInstaller</a>; ";
253
		echo "\$('installerrunning').innerHTML='<img class=\"infoboxnpimg\" src=\"/themes/{$g['theme']}/images/icons/icon_exclam.gif\"> <font size=\"2\"><b>An error occurred.  Aborting installation.  <a href=\"installer.php\">Back</a> to webInstaller'; ";
254 254
		echo "\$('progressbar').style.width='100%';\n";
255
		unlink("/tmp/install_complete");
255
		unlink_if_exists("/tmp/install_complete");
256 256
		return;
257 257
	}
258 258
	$running_old = trim(file_get_contents("/tmp/installer_installer_running"));

Also available in: Unified diff