I define a a variable in bootstarp.php , In some cases I need to change that value from APP controller. Is it possible in cakephp
define(‘MAXVALUE’,3);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
no
due to the nature of constants
thats why Configure::read() and write() should be used for such settings.