Author Topic: Calem_Dir variable  (Read 1530 times)

fred

  • Newbie
  • *
  • Posts: 8
Calem_Dir variable
« on: August 27, 2007, 05:56:37 pm »
In env.sh at the Export line - the variable "Calem_Dir" is defined. Should that not be "_Calem_Dir_" to match the variable in CreateSchemaCmd.php script?

Also in the file http-calemeam.conf there are hard coded directory paths that appear to be htdocs directives. Should these not be based on the "_Calem_Dir_" variable as well?

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
Calem_Dir variable
« Reply #1 on: August 28, 2007, 10:34:26 pm »
CreateSchemaCmd.php is not using env.sh to define the home dir. It's using relative path to define home dir ('_CALEM_DIR_') instead. It could be rewritten to use 'CALEM_DIR' env variable.

http-calemeam.conf is used by apache directly. We have not explored how to use env variables in apache conf file. So you may show us how to do it.
Calem Community Forum Admin