Project

General

Profile

Revision e0c97dab

IDe0c97dabb7b25bf02506456533588cb5df912298
Parent 75e60ab7
Child 0ec9e450

Added by Francois POIROTTE about 7 years ago

Léger nettoyage

Utilisation de DIRECTORY_SEPARATOR pour la généricité.
Remplacement des tabulations par 4 espaces.

Change-Id: I6a61883963d28f49fe2919a9f5d4b0b9c7470213
Reviewed-on: https://vigilo-dev.si.c-s.fr/review/2364
Tested-by: Build system <>
Reviewed-by: Francois POIROTTE <>

View differences:

src/front/menu.php
1 1
<?php
2 2

  
3
include ("../../../inc/includes.php");
3
include(dirname(dirname(__DIR__)) .
4
        DIRECTORY_SEPARATOR . "inc" .
5
        DIRECTORY_SEPARATOR . "includes.php");
4 6

  
5 7
if (PluginVigiloMenu::canView()) {
6 8
    Html::header(__('Vigilo', 'vigilo'), $_SERVER["PHP_SELF"], "plugins",
......
14 16
            1 => array("pipe", "w"),
15 17
            2 => array("pipe", "w"),
16 18
        );
17
	$cmd = "/usr/bin/sudo -n /usr/bin/vigiconf deploy -f --debug";
19
        $cmd = "/usr/bin/sudo -n /usr/bin/vigiconf deploy -f --debug";
18 20
        $res = proc_open($cmd, $fds, $pipes);
19 21
        if (!is_resource($res))
20
	    $res = false;
22
            $res = false;
21 23
    }
22 24
    PluginVigiloMenu::displayMenu($res, $pipes);
23 25
} else {

Also available in: Unified diff