[eluser]wwendorf[/eluser]
Hello all,
I'm trying to implement CodeIgniter into an existing web application that has been around for about 8 years. Let me first start out by saying that this application needs a major rewrite as it's the same code base that started with PHP3. Integrating code igniter is an attempt at bringing some structure into the application.
That being said, there are portions of the old site that I need to be able to use from within CodeIgniter. One of the first issues I am finding is that there is a file called logincode.php and menu.php on the existing site. login_code.php loads the security settings into an array called $repdata, which menu.php reads and displays the menu based on security privileges.
In trying to implement this functionality into a new install of codeigniter. I'm currently using the welcome controller and welcome view just to test.
In order to get these menu items to load, I have had to do:
include("login_code.php");
include("inc/menu.php");
in the welcome_view.php file.
Would this be the best way to do this, or does anyone else have any other suggestions?
Thanks,
Wade