Install dolphin on live website on root?

I wanted to know how I hide dolphin install for other users if I want to install a fresh copy on a live website. I dont want to reupload dolphin and have others see the "install" directory.

Quote · 11 Dec 2012

In your inc/header.inc.php file remove :

line 129-160

// check if install folder exists
if ( !defined ('BX_SKIP_INSTALL_CHECK') && file_exists( $dir['root'] . 'install' ) )
{
 $ret = <<<EOJ
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
  <head>
   <title>Dolphin Smart Community Builder Installed</title>
   <link href="install/general.css" rel="stylesheet" type="text/css" />
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  </head>
  <body>
   <div id="main">
   <div id="header">
    <img src="install/images/boonex-logo.png" alt="" /></div>
   <div id="content">
    <div class="installed_pic">
     <img alt="Dolphin Installed" src="install/images/dolphin_installed.jpg" />
   </div>

   <div class="installed_text">
    Please, remove INSTALL directory from your server and reload this page to activate your community site.
   </div>
   <div class="installed_text">
    NOTE: Once you remove this page you can safely <a href="administration/modules.php">install modules via Admin Panel</a>.
   </div>
  </body>
 </html>
EOJ;
 echo $ret;
 exit();
}

 

That will get rid of the checking for the install folder

~Simion~ http://1Faze.com ~ Custom Dolphin Development. ~ Dolphin Consultation
Quote · 11 Dec 2012

Thank you my friend. So basically now only I see the install folder by manually entering the url right? everyone else sees page does not exist?

Quote · 11 Dec 2012

That is correct... however... I would CERTAINLY do not forget to remove it when you are done. Hug security issue that can cause someone to get into your database or worse.

 

~Simion~ http://1Faze.com ~ Custom Dolphin Development. ~ Dolphin Consultation
Quote · 11 Dec 2012

Dear Simon,

Thank you very much for your help. I will send you a friend invite!

Quote · 11 Dec 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.