| Subject: | Re: How to define a global constant which is available through whole app? |
|---|---|
| From: | sanjib dhar |
| Date: | Tue, 15 Feb 2011 21:02:49 +0530 |
|
config/bootstrap.php : Configure::write('company', 'xxx');
appcontroller: class AppController extends Controller { var $helpers = array('Html', 'Form', '_javascript_', 'Session','fpdf','PhpSpeedy');
var $company = Configure::read('company'); } Error : On Tue, Feb 15, 2011 at 8:50 PM, <mikek@xxxxxxxxxxxxxxxxx> wrote: It looks like theres a missing single quote in your -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/cake-php |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: How to define a global constant which is available through whole app?, mikek |
|---|---|
| Next by Date: | cakephp on remote web server., melro |
| Previous by Thread: | Re: How to define a global constant which is available through whole app?, mikek |
| Next by Thread: | Re: How to define a global constant which is available through whole app?, Stephen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |