Menu

#6 controlpanel/layout can't find gadget/menu.php for include

open
nobody
None
5
2004-09-26
2004-09-26
Mirco Bauer
No

when I opened
admin.php?gadget=controlpanel&action=layout I got a PHP
warning saying the required file gadget/menu.php
couldn't be opened in controlpanel.php line 601. I
checked the source and found that in this place there
was no full path used. PHP include paths can be
problematic if the php install doesn't have "." in the
include_path. There is a easy solution to fix it
without depending on the "." in the include_path. See
my patch I submitted, it fixes the problem. Thanks for
such nice project!

Discussion

  • Mirco Bauer

    Mirco Bauer - 2004-10-21

    fixes the include paths, using full path like the other files do too

     
  • Mirco Bauer

    Mirco Bauer - 2004-10-21

    Logged In: YES
    user_id=598557

    sorry forgot to add the patch to the bugreport, fixed

     

Log in to post a comment.