diff --git a/lib/include/const b/lib/include/const index 42957f7..481f17e 100755 --- a/lib/include/const +++ b/lib/include/const @@ -3,11 +3,13 @@ # RESET OUTPUT BUFFER # MAIN DIRECTORIES - define('ROOT_DIR', '/home/sats/satsd'); + #define('ROOT_DIR', '/home/sats/satsd'); + define('ROOT_DIR', '/home/xdrm-brackets/SANDBOX/sats-local'); define('LOG_DIR', ROOT_DIR.'/log'); define('DATA_DIR', ROOT_DIR.'/data'); define('CONF_DIR', ROOT_DIR.'/conf'); - define('SOURCE_DIR', ROOT_DIR.'/source'); + #define('SOURCE_DIR', ROOT_DIR.'/source'); + define('SOURCE_DIR', ROOT_DIR.'/home/xdrm-brackets/Desktop/git.xdrm.io/logauth-sats'); define('TMP_DIR', ROOT_DIR.'/tmp'); # CONFIGURATION FILES diff --git a/lib/mfrc522/read b/lib/mfrc522/read new file mode 100755 index 0000000..a49a16b --- /dev/null +++ b/lib/mfrc522/read @@ -0,0 +1,3 @@ +#!/bin/sh + +php $(realpath $(dirname $0))/source/read.php; diff --git a/lib/mfrc522/source/read.php b/lib/mfrc522/source/read.php new file mode 100755 index 0000000..48c2b9f --- /dev/null +++ b/lib/mfrc522/source/read.php @@ -0,0 +1,33 @@ +#!/usr/bin/php + + +