CodeIgniter Forums
Where to put define[''] ? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Where to put define[''] ? (/showthread.php?tid=31851)



Where to put define[''] ? - El Forum - 07-04-2010

[eluser]zlatiborac[/eluser]
For my latest project I needed to define some paths on server so I used config.php from application/config folder, went there and enter
Code:
define('INSTALL_DIR','');
Is this recomended and what do you do when in same situation?


Where to put define[''] ? - El Forum - 07-04-2010

[eluser]InsiteFX[/eluser]
constants.php

or

create your own config file.

InsiteFX