View Single Post
  #2 (permalink)  
Old 13-05-2007, 10:07
DavidAllen's Avatar
DavidAllen DavidAllen is offline
Premium Member
 
Join Date: Jan 2007
Location: Amersham
Posts: 353
Send a message via MSN to DavidAllen Send a message via Skype™ to DavidAllen
Default

Quote:
Originally Posted by markpeers View Post
Hi

I've had a website hosting hosted here at EUKhost for a few years now, it runs phpwebsite CMS and has been working fine. Recently the security settings in PHP have been changed on the server to block the php function "ini_set". This has broken phpwebsite which uses this function to set the path correctly for accessing other modules.

The line of code that seems to be causing the problem is:
Code:
ini_set('include_path', '.' . PATH_SEPARATOR . PHPWS_SOURCE_DIR . 'lib/pear/');
Please can someone suggest how I get around this problem? I've seen mention of using .htaccess to set the php_value include_path but I'm not sure how to do this.

Thanks

Mark
Mark - I'd look to see where/how it gets the values for PHPWS_SOURCE_DIR from - I suspect that might be blank or something and that could be causing the apparent security warnings
__________________
David Allen -
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote