![]() |
Best place to have ini_set - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Best place to have ini_set (/showthread.php?tid=9210) |
Best place to have ini_set - El Forum - 06-17-2008 [eluser]Unknown[/eluser] I'm currently working on a project with heavy SOAP WebServices integration. I will use php stubs generated from the WDSLs. To keep track of changes in the WDSLs I have the wsdl cache disabled for development. For performance reasons I will have the wsdl cache enabled for the live version. Now here's the question: We're is the best place to put the Code: ini_set('soap.wsdl_cache_enabled', 1); Put it in config.php ? Put it in a custom config file ? Put it into the Library (which uses the php stub) ? Put it into the model using the library ? Thanks in advance Peter Best place to have ini_set - El Forum - 06-18-2008 [eluser]Derek Allard[/eluser] It would probably just be easiest to drop it into the main index.php file. Welcome to CodeIgniter peter. Best place to have ini_set - El Forum - 11-15-2008 [eluser]Max Binshtok[/eluser] I am going mad here... A while ago I was trying to set Code: set_time_limit(0); Now I've seen that some say it is impossible to set "upload_max_filesize" with ini_set and I have to use .htaccess - ok whatever. Maybe. max_input_time works btw (!!!) I already gave up on this, but now I want to issue the Code: ini_set('max_execution_time',-1); BUT if I create a file outside of CI directory and issue the same command - works like a charm. PLEASE HELP! I am starting to go completely mad about this... Best place to have ini_set - El Forum - 11-15-2008 [eluser]Max Binshtok[/eluser] OMG I am an IDIOT!!! I had a custom php.ini that I brought to try and tackle the upload problem and I turned safe mode on there... |