DeployerGuide/Customization/MassScaning: config.inc

Plik config.inc, 555 bytes (dodany przez jachtelik, 11 years temu)
xx

Plik konfiguracyjny do skryptu create_doc.php

Line 
1<?php
2final class Config {
3
4    public static $EDOK_API_LOGIN = 'edok_api_user';
5    public static $EDOK_API_PASSWORD = 'aqq123';
6    public static $DEFAULT_ENTITY_SYMBOL = 'ps';
7    public static $DEFAULT_DCTPID = 2;
8    public static $EDOK_API_LOCATION = 'http://10.8.16.90/edokumenty/public_html/eDokumentyApi.php';
9    public static $TARGET_ORUNID = 1;
10    public static $SENT_DIR = 'D:/SENT';
11    public static $args = NULL;
12}
13
14if (isset($_SERVER['argv'])) {
15    $args = $_SERVER['argv'];
16    array_shift($args);
17   
18    Config::$args = $args;
19}
20?>