Author Topic: Include php in skins  (Read 4708 times)

Offline apeitup

  • Newbie
  • *
  • Posts: 3
Include php in skins
« on: September 20, 2011, 05:02:49 AM »
I am trying to add/include a php file that contains my header and my access control system. How do I deal with php within a skin template.

The path to the file would ordinarily be and I would then just call it with the normal but this does not work within the theme templates.

I have had a  look around and do not seem to be able to find the solution for this any assistance would be greatly appreciated.

Thankyou

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Include php in skins
« Reply #1 on: September 20, 2011, 03:05:23 PM »
In /config/main.inc.php set $rcmail_config['skin_include_php'] to true.

Offline apeitup

  • Newbie
  • *
  • Posts: 3
Include php in skins
« Reply #2 on: September 21, 2011, 03:47:07 PM »
Yeah I did try that but they are still being conditioned out like so  "". I will have to dig a bit further I am sure I have just missed something.