No reason to hardcode the path

This commit is contained in:
Botanic 2013-06-05 19:14:49 -07:00
parent eea5ceaa11
commit fe343431a2

View file

@ -9,8 +9,8 @@
define('NELTOOL_DBNAME','nel_tool'); define('NELTOOL_DBNAME','nel_tool');
// site paths definitions // site paths definitions
define('NELTOOL_SITEBASE','http://open.ryzom.com/'); define('NELTOOL_SITEBASE',$_SERVER['PHP_SELF']);
define('NELTOOL_SYSTEMBASE','/home/nevrax/hg/code/ryzom/tools/server/admin/'); define('NELTOOL_SYSTEMBASE',dirname( dirname(__FILE__) ) . '/admin/');
define('NELTOOL_LOGBASE', NELTOOL_SYSTEMBASE .'/logs/'); define('NELTOOL_LOGBASE', NELTOOL_SYSTEMBASE .'/logs/');
define('NELTOOL_IMGBASE', NELTOOL_SYSTEMBASE .'/imgs/'); define('NELTOOL_IMGBASE', NELTOOL_SYSTEMBASE .'/imgs/');