Koozali.org: home of the SME Server

how can i integrate gallery2 into joomla

Offline skydivers

  • *
  • 178
  • +0/-0
Re: how can i integrate gallery2 into joomla
« Reply #30 on: September 19, 2007, 11:28:04 AM »
Yep, that is correct. From memory it is PHPBaseDir, but you easily proof this by looking at the original template fragment doing a command like this:
Code: [Select]
db show accounts ibayname

Thanx cactus, going to try this on a test server.

I will report in a couple of days.

Offline skydivers

  • *
  • 178
  • +0/-0
Re: how can i integrate gallery2 into joomla
« Reply #31 on: September 20, 2007, 11:27:04 AM »
Finally I managed to do the job  :)

This is what I did:

mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/92joomla /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/

pico /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/92joomla

and changed:

$OUT .= "    php_admin_value open_basedir /opt/joomla\n";

to:

$OUT .= "    php_admin_value open_basedir /opt/joomla:/opt/gallery2\n";

Followed by:

expand-template etc/httpd/conf/httpd.conf

/etc/rc7.d/S86httpd-e-smith restart

Also thanx to thomasch who managed this with wordpress and gallery2
« Last Edit: September 20, 2007, 11:29:16 AM by skydivers »