include/helpersmda.helper.php

Constants

MDA_APIHOST

MDA_APIHOST = 'http://ssp.desdev.cn'

MDA_JQUERY

MDA_JQUERY = MDA_APIHOST . '/assets/js/jquery.min.js'

MDA_REG_URL

MDA_REG_URL = MDA_APIHOST . '/home/register'

MDA_FORGOT_PASSWORD_URL

MDA_FORGOT_PASSWORD_URL = MDA_APIHOST . '/home/forgot_password'

MDA_UPDATE_URL

MDA_UPDATE_URL = MDA_APIHOST . '/home/update'

MDA_API_BIND_USER

MDA_API_BIND_USER = MDA_APIHOST . '/api_v1/dedecms/bind_user'

MDA_API_LOGIN

MDA_API_LOGIN = MDA_APIHOST . '/api_v1/dedecms/login'

MDA_API_CHECK_LOGIN

MDA_API_CHECK_LOGIN = MDA_APIHOST . '/api_v1/dedecms/check_login'

MDA_API_GET_PLACE

MDA_API_GET_PLACE = MDA_APIHOST . '/api_v1/dedecms/get_place'

MDA_VER

MDA_VER = '0.0.1'

Functions

mda_http_send()

mda_http_send(  $url,   $limit,   $post = '',   $cookie = '',   $timeout = 15) 

Parameters

$url
$limit
$post
$cookie
$timeout

mda_get_setting()

mda_get_setting(  $skey,   $time = false,   $real = false) 

Parameters

$skey
$time
$real

mda_set_setting()

mda_set_setting(  $skey,   $svalue) 

Parameters

$skey
$svalue

mda_check_islogin()

mda_check_islogin() 

mda_islogin()

mda_islogin()