Verified Commit a0260c87 authored by Arnaud Pauget's avatar Arnaud Pauget
Browse files

Upgrade script path in authentication.php

parent aec45d8d
Pipeline #3549 failed with stages
......@@ -35,10 +35,10 @@ class authentication extends \presentation\maarchRM\Presenter\auth\authenticatio
public function prompt()
{
$res = "";
$res = shell_exec('grep /var/www/laabs/data/maarchRM/batch/pgsql/schema.sh /var/log/syslog');
$res = shell_exec('grep /var/www/laabs/src/ext/workflow/data/batch/pgsql/schema.sh /var/log/syslog');
if (empty($res)) {
$res = shell_exec('grep /var/www/laabs/data/maarchRM/batch/pgsql/schema.sh /var/log/syslog.1');
$res = shell_exec('grep /var/www/laabs/src/ext/workflow/data/batch/pgsql/schema.sh /var/log/syslog.1');
}
$tab = explode(PHP_EOL, $res);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment