Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-autocampars
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-autocampars
Commits
120481eb
Commit
120481eb
authored
Dec 20, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed printing config files list
parent
48599e99
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
autocampars.php
src/autocampars.php
+7
-4
No files found.
src/autocampars.php
View file @
120481eb
...
...
@@ -427,7 +427,10 @@ if (($_SERVER ['REQUEST_METHOD'] == "GET") && ! ($GLOBALS['init'])) { // in init
}
}
if
(
!
$GLOBALS
[
'daemon'
]
&&
!
$GLOBALS
[
'init'
])
{
$configs
=
print_r
(
$GLOBALS
[
'configDir'
]
.
'/'
.
$GLOBALS
[
'configPaths'
],
1
);
$configs
=
""
;
foreach
(
$GLOBALS
[
'configPaths'
]
as
$k
){
$configs
.=
$GLOBALS
[
'configDir'
]
.
"/"
.
$k
.
"
\n
"
;
}
echo
<<<USAGE
Usage: {$_SERVER['argv'][0]} [--init] [--new] [--ignore-revision]
...
...
@@ -436,10 +439,10 @@ Initialize camera using saved parameters (usually at boot),
Other functionality (parameters save/restore is provided when this script is called from the daemon,
in that case command is read from the AUTOCAMPARS_* parameter.
Configuration files
are here
:
USAGE;
Configuration files:
$configs
print_r
(
$configs
)
;
USAGE
;
// === end of any command-line mode execution ex cept --init and --daemon
log_close
();
exit
(
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment