MyBB Community Forums

Full Version: [help] Code PHP in footer - HOW INSERT?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How insert in footer this code php:

<?php
ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); 
include_once ('linkor.php');

linkor_wyswietl_poz();
?>

Where? Please answer me Smile
Up. How insert this code?
Please do not bump your posts unless they have had 24 hours of inactivity.

You can use variables and array variables in the templates, so you will have to put that code in the global.php and get it to set the variables in the footer template.
Admin CP > (Templates) > Modify/Delete > [Expand] > Edit the Footer template