First build
This commit is contained in:
@@ -0,0 +1,97 @@
|
|||||||
|
# Prerequisites
|
||||||
|
*.d
|
||||||
|
|
||||||
|
# Object files
|
||||||
|
*.o
|
||||||
|
*.ko
|
||||||
|
*.obj
|
||||||
|
*.elf
|
||||||
|
|
||||||
|
# Linker output
|
||||||
|
*.ilk
|
||||||
|
*.map
|
||||||
|
*.exp
|
||||||
|
|
||||||
|
# Precompiled Headers
|
||||||
|
*.gch
|
||||||
|
*.pch
|
||||||
|
|
||||||
|
# Libraries
|
||||||
|
*.lib
|
||||||
|
*.a
|
||||||
|
*.la
|
||||||
|
*.lo
|
||||||
|
|
||||||
|
# Shared objects (inc. Windows DLLs)
|
||||||
|
*.dll
|
||||||
|
*.so
|
||||||
|
*.so.*
|
||||||
|
*.dylib
|
||||||
|
|
||||||
|
# Executables
|
||||||
|
*.exe
|
||||||
|
*.out
|
||||||
|
*.app
|
||||||
|
*.i*86
|
||||||
|
*.x86_64
|
||||||
|
*.hex
|
||||||
|
|
||||||
|
# Debug files
|
||||||
|
*.dSYM/
|
||||||
|
*.su
|
||||||
|
*.idb
|
||||||
|
*.pdb
|
||||||
|
|
||||||
|
# Kernel Module Compile Results
|
||||||
|
*.mod*
|
||||||
|
*.cmd
|
||||||
|
.tmp_versions/
|
||||||
|
modules.order
|
||||||
|
Module.symvers
|
||||||
|
Mkfile.old
|
||||||
|
dkms.conf
|
||||||
|
|
||||||
|
# Log files
|
||||||
|
*.log
|
||||||
|
|
||||||
|
# Misc
|
||||||
|
.svn
|
||||||
|
.libs
|
||||||
|
*.bak
|
||||||
|
modules
|
||||||
|
savvyext/src/Makefile
|
||||||
|
savvyext/src/Makefile.objects
|
||||||
|
savvyext/src/config.status
|
||||||
|
savvyext/src/include/php_savvyext_config.h
|
||||||
|
savvyext/src/include/php_savvyext_log.h
|
||||||
|
savvyext/src/include/php_tmpl_prefix.h
|
||||||
|
savvyext/src/mailsend/mailsend
|
||||||
|
RELEASE
|
||||||
|
*.tar
|
||||||
|
savvyoauth2
|
||||||
|
|
||||||
|
src/.deps
|
||||||
|
src/Makefile
|
||||||
|
src/Makefile.fragments
|
||||||
|
src/Makefile.global
|
||||||
|
src/Makefile.objects
|
||||||
|
src/acinclude.m4
|
||||||
|
src/aclocal.m4
|
||||||
|
src/autom4te.cache/
|
||||||
|
src/build/
|
||||||
|
src/confdefs.h
|
||||||
|
src/config.guess
|
||||||
|
src/config.h
|
||||||
|
src/config.h.in
|
||||||
|
src/config.nice
|
||||||
|
src/config.status
|
||||||
|
src/config.sub
|
||||||
|
src/configure
|
||||||
|
src/configure.in
|
||||||
|
src/install-sh
|
||||||
|
src/libtool
|
||||||
|
src/ltmain.sh
|
||||||
|
src/mailsend/mailsend
|
||||||
|
src/missing
|
||||||
|
src/mkinstalldirs
|
||||||
|
src/run-tests.php
|
||||||
@@ -1 +1 @@
|
|||||||
#define JUBABOX_API_NS "jubabox_api_savvy"
|
#define JUBABOX_API_NS "jubabox_api_oameye"
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
#define JUBABOX_CONFIG "/home/savvy/savvy/jubabox/etc/"
|
#define JUBABOX_CONFIG "/home/oameye/jubaboxweb/jubabox/etc/"
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
#define JUBABOX_LOG "/home/savvy/savvy/jubabox/logs/jubabox_api.log"
|
#define JUBABOX_LOG "/home/oameye/jubaboxweb/jubabox/logs/jubabox_api.log"
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
#define TMPL_PREFIX "/home/savvy/savvy/jubabox/email/"
|
#define TMPL_PREFIX "/home/oameye/jubaboxweb/jubabox/email/"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
/* -- */
|
/* -- */
|
||||||
#include "function_members.h"
|
#include "function_members.h"
|
||||||
#include "savvy_session.h"
|
#include "jubabox_session.h"
|
||||||
|
|
||||||
long serviceCost(long service_id, long discount_rate);
|
long serviceCost(long service_id, long discount_rate);
|
||||||
|
|
||||||
@@ -291,7 +291,8 @@ long medTMemberLogin(CVars in, CVars &out) {
|
|||||||
// remove all existing session
|
// remove all existing session
|
||||||
pgsql_exec("DELETE FROM members_session WHERE member_id=%ld ", out["member_id"].Long());
|
pgsql_exec("DELETE FROM members_session WHERE member_id=%ld ", out["member_id"].Long());
|
||||||
// Create New Session Now
|
// Create New Session Now
|
||||||
if (SessionCheck(out["member_id"].Long(), out["sessionid"].c_str(), 1) > 0) {
|
if (false) {
|
||||||
|
//if (SessionCheck(out["member_id"].Long(), out["sessionid"].c_str(), 1) > 0) {
|
||||||
|
|
||||||
|
|
||||||
out["stauts"] = "OK";
|
out["stauts"] = "OK";
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ www.chiefsoft.com
|
|||||||
/* -- */
|
/* -- */
|
||||||
|
|
||||||
#include "function_users.h"
|
#include "function_users.h"
|
||||||
#include "savvy_session.h"
|
#include "jubabox_session.h"
|
||||||
|
|
||||||
|
|
||||||
long savvyMemberLogin(CVars in, CVars &out) {
|
long savvyMemberLogin(CVars in, CVars &out) {
|
||||||
@@ -36,7 +36,8 @@ long savvyMemberLogin(CVars in, CVars &out) {
|
|||||||
// remove all existing session
|
// remove all existing session
|
||||||
pgsql_exec("DELETE FROM members_session WHERE member_id=%ld ", out["member_id"].Long());
|
pgsql_exec("DELETE FROM members_session WHERE member_id=%ld ", out["member_id"].Long());
|
||||||
// Create New Session Now
|
// Create New Session Now
|
||||||
if (SessionCheck(out["member_id"].Long(), out["sessionid"].c_str(), 1) > 0) {
|
if (false) {
|
||||||
|
//if (SessionCheck(out["member_id"].Long(), out["sessionid"].c_str(), 1) > 0) {
|
||||||
|
|
||||||
|
|
||||||
out["stauts"] = "OK";
|
out["stauts"] = "OK";
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ long jubabox_api_main(CVars in, CVars &out) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (action >= SAVVY_USER_MOBILESTART && action <= SAVVY_USER_MOBILEEND) {
|
if (action >= SAVVY_USER_MOBILESTART && action <= SAVVY_USER_MOBILEEND) {
|
||||||
return mobile_call(in, out);
|
return -1; //mobile_call(in, out);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -94,7 +94,8 @@ long members_call(CVars in, CVars &out) {
|
|||||||
REQ_STRING(in, "sessionid", 2, 100, "(.*)");
|
REQ_STRING(in, "sessionid", 2, 100, "(.*)");
|
||||||
ret = PHP_INVALID_SESSION;
|
ret = PHP_INVALID_SESSION;
|
||||||
out["status"] = "INVALID_SESSION";
|
out["status"] = "INVALID_SESSION";
|
||||||
if (SessionCheck(in["member_id"].Long(), in["sessionid"].c_str(), 0) == 1L) {
|
if (false) {
|
||||||
|
//if (SessionCheck(in["member_id"].Long(), in["sessionid"].c_str(), 0) == 1L) {
|
||||||
out = in;
|
out = in;
|
||||||
out["status"] = "VALID_SESSION";
|
out["status"] = "VALID_SESSION";
|
||||||
ret = PHP_VALID_SESSION;
|
ret = PHP_VALID_SESSION;
|
||||||
|
|||||||
Reference in New Issue
Block a user