Welcome Guest, Not a member yet? Register   Sign In
Template Library and DX_Auth Integration
#7

[eluser]Colin Williams[/eluser]
Quote:As i don’t want each unnecessary extra master page template features of MY_Controller as I already have a robust Template Library

Makes no sense. And, how do you suppose your APP_Controller file would load? You didn't follow any of CI's naming and file location conventions.

Quote:I decided to write my own APP_Controller.php and put it in system folder

CI looks in application/libraries for filenames that match those in system/libraries, but prefixed with 'MY_' (a prefix you can change in config if you want) and loads those files automatically. You can keep your APP_Controller in the system folder if you want, but you'll have to include() or require() it manually


Messages In This Thread
Template Library and DX_Auth Integration - by El Forum - 01-18-2010, 12:59 AM
Template Library and DX_Auth Integration - by El Forum - 01-18-2010, 01:56 AM
Template Library and DX_Auth Integration - by El Forum - 01-18-2010, 03:10 AM
Template Library and DX_Auth Integration - by El Forum - 01-18-2010, 04:05 AM
Template Library and DX_Auth Integration - by El Forum - 01-18-2010, 04:12 AM
Template Library and DX_Auth Integration - by El Forum - 01-18-2010, 04:18 AM
Template Library and DX_Auth Integration - by El Forum - 01-18-2010, 04:25 AM
Template Library and DX_Auth Integration - by El Forum - 01-18-2010, 04:41 AM
Template Library and DX_Auth Integration - by El Forum - 01-18-2010, 05:22 AM
Template Library and DX_Auth Integration - by El Forum - 01-18-2010, 05:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB