• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About index.php ,System and Application folders in the same root

#1
[eluser]sirfak[/eluser]
Hi all,
If I have index.php, application folder and system folder in the same root then what should be the value of the
$system_folder=""; and
$application_folder=""

say I have /wwwroot.....index.php
1......system (folder)
1......application (folder)

Please write the exact value of $system_folder and $application_folder

thanks
sirfak

#2
[eluser]Phil Sturgeon[/eluser]
This will blow your mind.

Code:
$application_folder = 'application';
$system_folder = 'system';

Woah! Tongue

#3
[eluser]sirfak[/eluser]
Hello...
surely it has..
How is it? I mean I have moved my application folder from system folder. Is it like the value of $application_folder and $system_folder are relative to the location of the index.php file?

Because by default also we had the same value when application folder was inside system folder?
Thanks
sirfak

#4
[eluser]Phil Sturgeon[/eluser]
The application folder can be in system or next to it. This is default behaviour and is explained in the User Guide.

Did you try just moving the folder and seeing what happened? You really need to try things before posting for help or you will spend all your time waiting for answers instead of writing brilliant applications!


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.