Arreglod de condicion

This commit is contained in:
Brayan Osmar Pereyra Suxo
2013-08-30 12:42:49 -04:00
parent 93b851c142
commit 7fa1004c12

View File

@@ -35,7 +35,7 @@ class Installer extends Controller
public function index ($httpData) public function index ($httpData)
{ {
if (file_exists($this->path_shared . 'partner.info')){ if ((strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') && (file_exists($this->path_shared . 'partner.info'))){
$this->includeExtJS( 'installer/stopInstall'); $this->includeExtJS( 'installer/stopInstall');
$this->setView( 'installer/mainStopInstall' ); $this->setView( 'installer/mainStopInstall' );
G::RenderPage( 'publish', 'extJs' ); G::RenderPage( 'publish', 'extJs' );