clockwerk-www – Diff between revs 69 and 70
?pathlinks?
Rev 69 | Rev 70 | |||
---|---|---|---|---|
Line 68... | Line 68... | |||
68 | print '<p>Sorry, the authenticated agent is not the owner of the region to download.</p>'; |
68 | print '<p>Sorry, the authenticated agent is not the owner of the region to download.</p>'; |
|
69 | goto last; |
69 | goto last; |
|
70 | } |
70 | } |
|
71 | while ($result = $query->fetchObject()) { |
71 | while ($result = $query->fetchObject()) { |
|
72 | if ($result->RegionName == $region) { */ |
72 | if ($result->RegionName == $region) { */ |
|
73 | if (file_exists($file)) { |
73 | if (file_exists($file)) { */ |
|
74 | $req->admin_console_command('change region '.$region); |
74 | $req->admin_console_command('change region '.$region); |
|
75 | chmod($file, 0644); |
75 | chmod($file, 0644); |
|
76 | $req->admin_console_command('load oar '.$file); |
76 | $req->admin_console_command('load oar '.$file); |
|
77 | chmod($file, 0600); |
77 | chmod($file, 0600); |
|
78 | echo '<p>OAR uploaded successfully.</p>'; |
78 | echo '<p>OAR uploaded successfully.</p>'; |