Welcome Guest, Not a member yet? Register   Sign In
Questions
#1

[eluser]Bl4cKWid0w[/eluser]
I develop my websites on my main server and then transfer the files to the server that the domain of the new site is on. I’m assuming the new server would required CodeIgniter to be installed on it? And if this is true, instead of uploading the entire CodeIgniter application into the root directory of my domain, making it more confusing to edit my site further into the future, would I be able to put the files I created in the root directory of my domain with the CodeIgniter application in a seperate directory?
#2

[eluser]m4rw3r[/eluser]
You could put CodeIgniter's system directory wherever you want, just make sure the bootstrap file (index.php) links to it correctly (with $system_folder) and that you have the right permissions set.

Example:
Code:
/home/m4rw3r/mysite/
  \
  |-system  -\
  |          |-cache
...        ...
  |
  |-wwwroot -\
             |-index.php
             |-application/
             \-public/

Index.php:
Code:
$system_folder = "../system";




Theme © iAndrew 2016 - Forum software by © MyBB