Where should I define the global constants in Cakephp 3?

0

Currently I have them defined in the file paths.php but I do not get them well, should I put them in another file or do I have to add something somewhere? Thanks in advance.

    
asked by Rubén 02.08.2017 в 11:21
source

1 answer

0

There are several alternatives:

  • Define them in bootstrap.php Bootstraping Cakephp
  • Create a configurator in which you define certain parameters (my favorite) here they explain how to do it.

Greetings and I hope you find it useful.

    
answered by 04.08.2017 в 11:39