[dokuwiki] Re: Problem.. disable_functions

  • From: "Fabio Silva" <fssilva@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 27 Aug 2007 17:43:19 -0300

Ok... i need to change the readfile() in that files... to
file_get_contents() ???

Regards,
Fabio

On 8/26/07, Myron Turner <turnermm02@xxxxxxx> wrote:
> Fabio Silva wrote:
> > Hi all, i have a big problem... i have dokuwiki in my personal
> > website, but, i discovered that the server has a php.ini configuration
> > that the function disable_function is active, and when i try to access
> > my dokuwiki site, i have a file in lib/exe/error_log , this file has
> > the following
> >
> > [26-Aug-2007 21:15:09] PHP Warning:  readfile() has been disabled for
> > security reasons in /home/user/public_html/wiki/lib/exe/css.php on
> > line 86
> > [26-Aug-2007 21:15:10] PHP Warning:  readfile() has been disabled for
> > security reasons in /home/user/public_html/wiki/lib/exe/css.php on
> > line 86
> > [26-Aug-2007 21:15:10] PHP Warning:  readfile() has been disabled for
> > security reasons in /home/user/public_html/wiki/lib/exe/js.php on line
> > 69
> >
> >
> > in phpinfo () i can see that the disable_function is enable, and i
> > think that its my problem.
> >
> > Is there any way to put dokuwiki work with this server??
> >
> >
> > Regards,
> >
> find . | xargs grep readfile shows the following uses of readfile:
>
> ./inc/feedcreator.class.php:        readfile($filename, "r");
> ./lib/exe/js.php:        readfile($cache);
> ./lib/exe/js.php:    @readfile(DOKU_CONF.'userscript.js');
> ./lib/exe/css.php:        readfile($cache);
>
>
> --
>
> _____________________
> Myron Turner
> http://www.room535.org
> http://www.bstatzero.org
> http://www.mturner.org/XML_PullParser/
>
>
> --
> DokuWiki mailing list - more info at
> http://wiki.splitbrain.org/wiki:mailinglist
>


-- 
Fabio S. Silva
Mail: fssilva@xxxxxxxxx
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: