~pieroliste/ocsinventory-ocsreports/trunk

« back to all changes in this revision

Viewing changes to plugins/main_sections/ms_teledeploy/ms_tele_activate.php

  • Committer: airoine
  • Date: 2010-10-14 15:59:44 UTC
  • mfrom: (486.1.13 trunk)
  • Revision ID: erwan.goalou@gmail.com-20101014155944-iu4dmrd3zsmvtqtk
merge with passero branch + fix $_SERVER['DOCUMENT_ROOT']

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
        $document_root = $val_document_root["tvalue"];
64
64
        //if no directory in base, take $_SERVER["DOCUMENT_ROOT"]
65
65
        if (!isset($document_root)){
66
 
                        $document_root = $_SERVER["DOCUMENT_ROOT"]."/download/";
 
66
                        $document_root = DOCUMENT_ROOT."download/";
67
67
                        if ($protectedPost['SHOW_SELECT'] == "server")
68
68
                                $document_root .="server/";
69
69