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

(This post was last modified: 01-27-2017, 12:49 AM by vasileios.city.)

Hello guys,

i have created my project with Codeigniter and i would like to create versioning.

The first page of my project is a login form.
The users have a version field in my database so depending on the user who has logged i would like to load the corresponding version of my project.

I have thought to use session, to change the variable $application_folder at index.php and rename the folder application with the available versions, but the index.php file has not loaded the Codeigniter yet.

How can i achieve that?

My project structure is the default by the Codeigniter and is like this

To be more clear my structure is

my project
    index.php ( $application_folder = '0.1'; )
    - system  
    - 0.1
        - cache
        - config
        - controllers
        ......
        - views
    - 0.2
        - cache
        - config
        - controllers
        ......
        - views
    - 0.3
        - cache
        - config
        - controllers
        ......
        - views
Reply


Messages In This Thread
Versioning - by vasileios.city - 01-26-2017, 08:02 AM
RE: Versioning - by vasileios.city - 01-28-2017, 05:24 AM
RE: Versioning - by Paradinight - 01-28-2017, 07:37 AM
RE: Versioning - by vasileios.city - 01-28-2017, 08:38 AM
RE: Versioning - by Paradinight - 01-28-2017, 10:25 AM
RE: Versioning - by vasileios.city - 01-28-2017, 10:37 AM
RE: Versioning - by albertleao - 01-28-2017, 08:57 PM
RE: Versioning - by albertleao - 01-28-2017, 09:38 PM
RE: Versioning - by vasileios.city - 01-29-2017, 06:31 AM
RE: Versioning - by albertleao - 01-29-2017, 10:48 AM
RE: Versioning - by vasileios.city - 01-29-2017, 11:01 AM
RE: Versioning - by skunkbad - 01-29-2017, 11:06 AM
RE: Versioning - by albertleao - 01-29-2017, 08:17 PM
RE: Versioning - by vasileios.city - 01-30-2017, 12:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB