Jump to content

include


ofi

Recommended Posts

Hya

 

How can i add this include

<?php include("file.php"); ?>

inside this code

<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './phpbb3_demo/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();


page_header('Um mig');

$template->set_filenames(array(
    'body' => 'aboutus_body.html',
));

page_footer();

?>

Link to comment
Share on other sites

Interesting I have made custom mods to phpBB2 and 3 I just have the include_once in a function and use it as needed. I never really had an issue. I can't really tell you though because its been almost a year since I have made anything custom for PHPBB and yeah I'm a lil rusty in it now.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.