Welcome Guest, Not a member yet? Register   Sign In
Server path
#11

[eluser]theswede[/eluser]
This is what an unmodified index.php looks like:
Code:
define('EXT', '.'.pathinfo(__FILE__, PATHINFO_EXTENSION));
define('FCPATH', __FILE__);
define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME));
define('BASEPATH', $system_folder.'/');

if (is_dir($application_folder))
{
    define('APPPATH', $application_folder.'/');
}
else
{
    if ($application_folder == '')
    {
        $application_folder = 'application';
    }

    define('APPPATH', BASEPATH.$application_folder.'/');
}

That means that the application folder doesn't necessarily have to relate to the index.php document or its' path. Or have I got this all wrong?


Messages In This Thread
Server path - by El Forum - 12-05-2007, 02:25 PM
Server path - by El Forum - 12-05-2007, 02:47 PM
Server path - by El Forum - 12-06-2007, 01:23 PM
Server path - by El Forum - 12-06-2007, 01:45 PM
Server path - by El Forum - 12-06-2007, 01:54 PM
Server path - by El Forum - 12-06-2007, 03:25 PM
Server path - by El Forum - 12-06-2007, 04:15 PM
Server path - by El Forum - 12-06-2007, 04:20 PM
Server path - by El Forum - 12-06-2007, 04:37 PM
Server path - by El Forum - 12-06-2007, 05:08 PM
Server path - by El Forum - 12-07-2007, 04:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB