Plugin Directory

Changeset 1426394


Ignore:
Timestamp:
05/29/2016 02:17:54 PM (10 years ago)
Author:
eslamsalem
Message:

update the shield

Location:
shieldfy
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • shieldfy/tags/2.0/shieldfy.php.client

    r1423076 r1426394  
    2323/* ping check */
    2424if(isset($_GET['shaction']) && isset($_GET['token'])){
    25     if($_GET['shaction'] == 'ping' && $_GET['token'] == 'd669dd655d834c3f910c44ecf01c2564219376c8'){
     25    if($_GET['shaction'] == 'ping' && $_GET['token'] == '{{$WEBSITE_TOKEN}}'){
    2626        echo 'running:'.SHIELDFY_VERSION;
    2727        exit;
     
    607607class ShieldfyLogs extends ShieldfyCoreShield{
    608608    function errors(){
    609         $err = file_get_contents(SHIELDFY_ROOT_DIR.'shieldfy'.SHIELDFY_DS.'tmpd'.SHIELDFY_DS.'/err_log.shieldfy');
     609        $err = file_get_contents(SHIElDFY_CACHE_DIR.'logs'.SHIELDFY_DS.'err_log.shieldfy');
    610610        if($err){
    611             file_put_contents(SHIELDFY_ROOT_DIR.'shieldfy'.SHIELDFY_DS.'tmpd'.SHIELDFY_DS.'/err_log.shieldfy', "");
     611            file_put_contents(SHIElDFY_CACHE_DIR.'logs'.SHIELDFY_DS.'err_log.shieldfy', "");
    612612            $this->response(200,$err);
    613613        }else{
  • shieldfy/trunk/shieldfy.php.client

    r1423075 r1426394  
    2323/* ping check */
    2424if(isset($_GET['shaction']) && isset($_GET['token'])){
    25     if($_GET['shaction'] == 'ping' && $_GET['token'] == 'd669dd655d834c3f910c44ecf01c2564219376c8'){
     25    if($_GET['shaction'] == 'ping' && $_GET['token'] == '{{$WEBSITE_TOKEN}}'){
    2626        echo 'running:'.SHIELDFY_VERSION;
    2727        exit;
Note: See TracChangeset for help on using the changeset viewer.