|
Haven't registered yet? Do it here now!
|
mbishop
Joined: 12 Mar 2010 Posts: 39
|
|
|
|
|
|
|
Posted: Wed Jul 28, 2010 4:07 am Post subject: BO internal includes? |
|
|
|
|
|
|
|
|
|
|
Is it possible for BO to use an internal include for blogs that are on the same server as BO (like the LO includes are)? |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Wed Jul 28, 2010 10:19 am Post subject: |
|
|
|
|
|
|
|
|
|
|
no, it is using remote includes only because with local include there were couple of major problems as long as i remember when creating it.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
mbishop
Joined: 12 Mar 2010 Posts: 39
|
|
|
|
|
|
|
Posted: Thu Aug 12, 2010 2:45 am Post subject: |
|
|
|
|
|
|
|
|
|
|
Would there be a way to set up an internal include?
IE:
Code: |
// Set any applicable GET variables
$_GET['var1'] = 'var1';
$_GET['var2'] = 'var2';
$curdir = getcwd();
chdir('/path/to/bo/');
include 'boblogs/blog#.php';
chdir($curdir);
|
|
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Thu Aug 12, 2010 10:01 am Post subject: |
|
|
|
|
|
|
|
|
|
|
yes, the linking codes could be rewritten and local include used, but as i mentioned problems might occur in operation of the software.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
|
| |