Showing
1 changed file
with
2 additions
and
2 deletions
@@ -840,7 +840,7 @@ foreach ($files as $file) { | @@ -840,7 +840,7 @@ foreach ($files as $file) { | ||
840 | die('Cannot create temporary directory'); | 840 | die('Cannot create temporary directory'); |
841 | 841 | ||
842 | 842 | ||
843 | - exec('cp -a /var/www/ut.mephi.ru/ut-tex/mephimemo "'.$tempdir.'/"'); | 843 | + exec('cp -a /var/www/'.$_SERVER['SERVER_NAME'].'/ut-tex/mephimemo "'.$tempdir.'/"'); |
844 | chdir($tempdir.'/mephimemo'); | 844 | chdir($tempdir.'/mephimemo'); |
845 | file_put_contents("request.get", print_r($_GET, true)); | 845 | file_put_contents("request.get", print_r($_GET, true)); |
846 | 846 | ||
@@ -919,7 +919,7 @@ foreach ($files as $file) { | @@ -919,7 +919,7 @@ foreach ($files as $file) { | ||
919 | file_put_contents('footer.tex', $footer); | 919 | file_put_contents('footer.tex', $footer); |
920 | file_put_contents('responsible.tex', '\mmresponsibleskip'); | 920 | file_put_contents('responsible.tex', '\mmresponsibleskip'); |
921 | 921 | ||
922 | - print_r($_GET);die(); | 922 | + //print_r($_GET);die(); |
923 | 923 | ||
924 | if (empty($issue_id)) { | 924 | if (empty($issue_id)) { |
925 | if (!is_null($project_id)) { | 925 | if (!is_null($project_id)) { |
-
Please register or login to post a comment