Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(485)

Unified Diff: DB/API_REST/utils/restart.php

Issue 335100043: DB with histogram
Patch Set: DB Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DB/API_REST/utils/link.plt ('k') | DB/API_REST/utils/restart.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: DB/API_REST/utils/restart.php
diff --git a/DB/API_REST/utils/restart.php b/DB/API_REST/utils/restart.php
deleted file mode 100755
index 076a0245f0ab8251ea57e5618b0f0be042035b44..0000000000000000000000000000000000000000
--- a/DB/API_REST/utils/restart.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-$password = $_POST["pass"];
-$cmd = "echo ". $password . " | sudo -S /var/www/html/API_REST/utils/restart.sh";
-$output = shell_exec($cmd);
-echo $cmd;
-echo $output;
-?>
« no previous file with comments | « DB/API_REST/utils/link.plt ('k') | DB/API_REST/utils/restart.sh » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b