Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/3.4' into 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Dec 14, 2013
2 parents 5cd6c05 + b83f664 commit 42f032d
Show file tree
Hide file tree
Showing 16 changed files with 64 additions and 15 deletions.
2 changes: 1 addition & 1 deletion htdocs/admin/agenda_other.php
Expand Up @@ -18,7 +18,7 @@
*/

/**
* \file htdocs/admin/agenda.php
* \file htdocs/admin/agenda_other.php
* \ingroup agenda
* \brief Autocreate actions for agenda module setup page
*/
Expand Down
6 changes: 6 additions & 0 deletions htdocs/cashdesk/deconnexion.php
Expand Up @@ -15,6 +15,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/**
* \file htdocs/cashdesk/deconnexion.php
* \ingroup cashdesk
* \brief Manage deconnexion for point of sale module
*/

//if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL','1'); // Uncomment creates pb to relogon after a disconnect
if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU','1');
if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML','1');
Expand Down
5 changes: 3 additions & 2 deletions htdocs/cashdesk/facturation_dhtml.php
Expand Up @@ -17,8 +17,9 @@
*/

/**
* This page is called each time we press a key in the code
* search form to show product combo list.
* \file htdocs/cashdesk/facturation_dhtml.php
* \ingroup cashdesk
* \brief This page is called each time we press a key in the code search form to show product combo list.
*/


Expand Down
6 changes: 6 additions & 0 deletions htdocs/cashdesk/facturation_verif.php
Expand Up @@ -16,6 +16,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/**
* \file htdocs/cashdesk/facturation_verif.php
* \ingroup cashdesk
* \brief facturation_verif.php
*/

require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/cashdesk/include/environnement.php';
require_once DOL_DOCUMENT_ROOT.'/cashdesk/class/Facturation.class.php';
Expand Down
6 changes: 6 additions & 0 deletions htdocs/cashdesk/index_verif.php
Expand Up @@ -20,6 +20,12 @@
* We set here login choices into session.
*/

/**
* \file htdocs/cashdesk/index_verif.php
* \ingroup cashdesk
* \brief index_verif.php
*/

include '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/cashdesk/include/environnement.php';
require_once DOL_DOCUMENT_ROOT.'/cashdesk/class/Auth.class.php';
Expand Down
6 changes: 6 additions & 0 deletions htdocs/cashdesk/validation.php
Expand Up @@ -15,6 +15,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/**
* \file htdocs/cashdesk/validation.php
* \ingroup cashdesk
* \brief validation.php
*/

// Affichage des templates
require ('tpl/validation1.tpl.php');

Expand Down
12 changes: 9 additions & 3 deletions htdocs/cashdesk/validation_ok.php
@@ -1,5 +1,5 @@
<?php
/* Copyright (C) 2007-2008 J�r�mie Ollivier <jeremie.o@laposte.net>
/* Copyright (C) 2007-2008 Jeremie Ollivier <jeremie.o@laposte.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand All @@ -15,7 +15,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

// Affichage des templates
require ('tpl/validation2.tpl.php');
/**
* \file htdocs/cashdesk/validation_ok.php
* \ingroup cashdesk
* \brief validation_ok.php
*/

// Affichage des templates
require ('tpl/validation2.tpl.php');

?>
6 changes: 6 additions & 0 deletions htdocs/cashdesk/validation_ticket.php
Expand Up @@ -15,6 +15,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/**
* \file htdocs/cashdesk/validation_ticket.php
* \ingroup cashdesk
* \brief validation_ticket.php
*/

require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/cashdesk/include/environnement.php';
require_once DOL_DOCUMENT_ROOT.'/cashdesk/class/Facturation.class.php';
Expand Down
6 changes: 6 additions & 0 deletions htdocs/cashdesk/validation_verif.php
Expand Up @@ -17,6 +17,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/**
* \file htdocs/cashdesk/validation_verif.php
* \ingroup cashdesk
* \brief validation_verif.php
*/

require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/cashdesk/include/environnement.php';
require_once DOL_DOCUMENT_ROOT.'/cashdesk/class/Facturation.class.php';
Expand Down
4 changes: 2 additions & 2 deletions htdocs/comm/admin/propal_extrafields.php
Expand Up @@ -19,8 +19,8 @@
*/

/**
* \file htdocs/societe/admin/societe_extrafields.php
* \ingroup societe
* \file htdocs/comm/admin/propal_extrafields.php
* \ingroup propal
* \brief Page to setup extra fields of third party
*/

Expand Down
2 changes: 1 addition & 1 deletion htdocs/comm/propal/document.php
Expand Up @@ -21,7 +21,7 @@

/**
* \file htdocs/comm/propal/document.php
* \ingroup propale
* \ingroup propal
* \brief Management page of documents attached to a business proposal
*/

Expand Down
2 changes: 1 addition & 1 deletion htdocs/comm/propal/info.php
Expand Up @@ -19,7 +19,7 @@

/**
* \file htdocs/comm/propal/info.php
* \ingroup propale
* \ingroup propal
* \brief Page d'affichage des infos d'une proposition commerciale
*/

Expand Down
4 changes: 2 additions & 2 deletions htdocs/comm/propal/list.php
Expand Up @@ -25,8 +25,8 @@
*/

/**
* \file htdocs/comm/propal.php
* \ingroup propale
* \file htdocs/comm/propal/list.php
* \ingroup propal
* \brief Page of commercial proposals card and list
*/

Expand Down
2 changes: 1 addition & 1 deletion htdocs/comm/propal/note.php
Expand Up @@ -21,7 +21,7 @@

/**
* \file htdocs/comm/propal/note.php
* \ingroup propale
* \ingroup propal
* \brief Fiche d'information sur une proposition commerciale
*/

Expand Down
7 changes: 6 additions & 1 deletion htdocs/comm/propal/tpl/linkedobjectblock.tpl.php
Expand Up @@ -14,7 +14,12 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/

/**
* \file htdocs/comm/propal/tpl/linkedobjectblock.tpl.php
* \ingroup propal
* \brief Template to show objects linked to proposals
*/
?>

Expand Down
3 changes: 2 additions & 1 deletion htdocs/core/filemanagerdol/connectors/php/config.php
Expand Up @@ -35,6 +35,7 @@
$pos = strstr($uri, '/'); // $pos contient alors url sans nom domaine
if ($pos == '/') $pos = ''; // si $pos vaut /, on le met a ''
define('DOL_URL_ROOT', $pos);
$entity = ((!empty($_SESSION['dol_entity']) && $_SESSION['dol_entity'] > 1) ? $_SESSION['dol_entity'] : null);

// SECURITY: You must explicitly enable this "connector". (Set it to "true").
// WARNING: don't just set "$Config['Enabled'] = true ;", you must be sure that only
Expand All @@ -49,7 +50,7 @@
// user files directory. Useful if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
$Config['UserFilesAbsolutePath'] = $dolibarr_main_data_root.'/fckeditor/';
$Config['UserFilesAbsolutePath'] = $dolibarr_main_data_root . (!empty($entity) ? '/' . $entity : '') . '/fckeditor/';

// Due to security issues with Apache modules, it is recommended to leave the
// following setting enabled.
Expand Down

0 comments on commit 42f032d

Please sign in to comment.