Changeset 9154 for trunk/MagicSoft/Mars/datacenter/db/tabs.php
- Timestamp:
- 11/11/08 11:50:31 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/tabs.php
r9150 r9154 11 11 "signal" => "/callisto/", 12 12 "ganymed" => "/ganymed/", 13 "gplotdb" => "/ganymed/", 13 14 "db" => "/plotdb/", 14 15 "status" => "/status/", … … 23 24 "signal" => "signal", 24 25 "ganymed" => "ganymed", 26 "gplotdb" => "plotdb", 25 27 "db" => "plotdb", 26 28 "status" => "plotstat", … … 35 37 "signal" => "signal", 36 38 "ganymed" => "ganymed", 39 "gplotdb" => "gplotdb", 37 40 "db" => "plotdb", 38 41 "status" => "status", … … 49 52 $path = $htpath.$paths[$type]; 50 53 if ($number>0) 51 $path = sprintf($path."%04d/%08d/", $number/10000, $number); 54 if ($type=="ganymed" || $type=="gplotdb") 55 $path = sprintf($path."%05d/%08d/", $number/1000, $number); 56 else 57 $path = sprintf($path."%04d/%08d/", $number/10000, $number); 52 58 ?> 53 59 <?
Note:
See TracChangeset
for help on using the changeset viewer.