You could try: define('site_new', '/'.$_SERVER["HTTP_HOST"].'/abc');
or, I'm pretty sure you read config vars like this: Configure::read('site_new'); http://book.cakephp.org/view/42/The-Configuration-Class#read-413 Good luck! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---