Welcome Guest, Not a member yet? Register   Sign In
How to use global function?

I want to move pure php project to CI2. when I move page to view folder and run. CI2 don't use global variable and global function. I try to solve problem three days ago.
I try to remove $this->_sanitize_globals(); but no effect.
and try to move include in core/codeigniter.php ; it can run global but it have some error too.

How to remove some security for use all global variable and global function? because this project almost use global variable/function.

please help me.Confusedhut:
--(pure project) php // (project before)
------common.php // inclide libary
------xxxxx1-100.php // use global about 100 files O.O
--(codeigniter) //(my project)
--------main.php // $this->load->view('some page.php')
--------somepage.php // this file. I move from upper project

Messages In This Thread
How to use global function? - by El Forum - 10-02-2011, 02:14 AM

Theme © iAndrew 2016 - Forum software by © MyBB