[eluser]Unknown[/eluser]
Hi Folks,
I am building an installation wizard for an codeingiter web application(XYZ), where i need to install the script in the server and delete the Install wizard once the install is succeeded. Here, I want to run the application folder from the installation folder. I have used the code below to run the installation wizard (abc.php).
==================================================================
if(file_exists(dirname($_SERVER['SCRIPT_FILENAME']).'/XYZ/config/abc.php'))
{
$application_folder = "XYZ";
}
else
{
$application_folder = 'install';
}
==================================================================
The above code does not work and it is not redirecting to the application as desired. I have attached the index file for your reference. Please help me in this regard.
Thanks,
Nisha
Php Programmer