Welcome Guest, Not a member yet? Register   Sign In
Migrations inside composer scripts
#5

(10-17-2021, 12:39 AM)ARAmiss Wrote: About spark. There is FCPATH definition inside it:
Code:
// Path to the front controller
define('FCPATH', __DIR__ . DIRECTORY_SEPARATOR . 'public' . DIRECTORY_SEPARATOR);


What if my public directory named not "public"? Any idea?
In that case you need to edit the spark script. There should be a better way to configure this, but at the moment I think it's the only way to do it.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply


Messages In This Thread
Migrations inside composer scripts - by ARAmiss - 10-14-2021, 04:29 AM
RE: Migrations inside composer scripts - by includebeer - 10-17-2021, 04:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB