Welcome Guest, Not a member yet? Register   Sign In
Is there a sub-version for CI_VERSION, if not why not :)
#1

(This post was last modified: 11-27-2021, 07:48 PM by John_Betong. Edit Reason: Updates SYSTEM_PATH )

I'm under the impression that GitHub latest version can be downloaded from:
https://github.com/codeigniter4/CodeIgniter4
There are other methods to download the latest version into my mirrored /var/www/ Online path:

Question:
Are all these versions the same and is there a CI_SUB_VERSION

1. Linux Command Line:
git clone https://github.com/codeigniter4/CodeIgniter4.git

Code:
$paths ==> Config\Paths Object
(
    [systemDirectory] => /var/www/CodeIgniter4/app/Config/../../system
    [appDirectory] => /var/www/CodeIgniter4/app/Config/..
    [writableDirectory] => /var/www/CodeIgniter4/app/Config/../../writable
    [testsDirectory] => /var/www/CodeIgniter4/app/Config/../../tests
    [viewDirectory] => /var/www/CodeIgniter4/app/Config/../Views
)

2. Github Zip:
https://github.com/codeigniter4/CodeIgni...evelop.zip
// not tried

3. Composer:
composer create-project codeigniter4/appstarter /var/www/CodeIgniter4

Code:
$paths ==> Config\Paths Object
(
    [systemDirectory] => /var/www/CodeIgniter4/app/Config/../../vendor/codeigniter4/framework/system
    [appDirectory] => /var/www/CodeIgniter4/app/Config/..
    [writableDirectory] => /var/www/CodeIgniter4/app/Config/../../writable
    [testsDirectory] => /var/www/CodeIgniter4/app/Config/../../tests
    [viewDirectory] => /var/www/CodeIgniter4/app/Config/../Views
)

Edit:
I've just downloaded the GitHub and Composer Versions and noticed the vast change in $paths!!!! 

A lot of my sites are going to break because of the SYSTEM_PATH changes Sad
Reply


Messages In This Thread
Is there a sub-version for CI_VERSION, if not why not :) - by John_Betong - 11-27-2021, 07:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB