Rev 3 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3 | Rev 6 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #!/usr/bin/php |
1 | #!/usr/bin/php |
2 | <?php |
2 | <?php |
3 | 3 | ||
4 | require_once __DIR__ . '/includes/db.inc.php'; |
4 | require_once __DIR__ . '/includes/db.inc.php'; |
- | 5 | ||
- | 6 | $src = '???'; |
|
5 | require_once __DIR__ . '/includes/src.inc.php'; |
7 | require_once __DIR__ . '/includes/src.inc.php'; |
6 | 8 | ||
- | 9 | $stam_cfg = array(); |
|
- | 10 | $stam_cfg['simulation'] = false; |
|
- | 11 | require_once __DIR__ . '/includes/config.inc.php'; |
|
- | 12 | ||
7 | if ($argc <> 3) { |
13 | if ($argc <> 3) { |
8 | echo "Syntax: $argv[0] <cat> <entry>\n"; |
14 | echo "Syntax: $argv[0] <cat> <entry>\n"; |
9 | exit(2); |
15 | exit(2); |
10 | } |
16 | } |
11 | 17 |