You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2005-06-07 15:58:53

megabrain
Member
Registered: 2005-06-03
Posts: 35

_relpos.php

Quick question :

If I would like install in other path than http://www_root/glpi, did I mast edit all _relpos.php files ? (to change $phproot variable)

Offline

#2 2005-06-07 16:12:43

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: _relpos.php

non the phproot is detect using the relpos file.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2005-06-08 07:53:24

megabrain
Member
Registered: 2005-06-03
Posts: 35

Re: _relpos.php

Ok, so if I am right, after installation in other dir than www_root/glpi it should work perfectly.
But it doesn't, for example: if i install glpi in www_root/some_dir/glpi-test directory, some links are correctly working from that directory, but most important links, such computers, networks etc. try to read php code from www_root/glpi.

Any ideas what I am doing wrong ?

Offline

#4 2005-06-08 11:46:11

baaz
Member
Registered: 2004-09-13
Posts: 513

Re: _relpos.php

If you've done the install and then you've move all file from www_root/glpi/ to www_root/some/thing/glpi it would not work.
If you move all your glpi repository, you"ve "normally" to delete glpi/glpi/config_db.php and start from an update.

We use some global variable that named $cfg_install["root'], that is initialized from each install or update.

You may change it's value on the glpi_config table on the raw root_doc.

If you install or update  GLPI normally, the place where it's installed would be self discovered and you'll have nothing to do.

Last edited by baaz (2005-06-08 13:20:05)


Bazile Lebeau

Offline

#5 2005-06-08 12:13:52

megabrain
Member
Registered: 2005-06-03
Posts: 35

Re: _relpos.php

That's it - thank for your time !

Offline

Board footer

Powered by FluxBB