Okay
  Public Ticket #1232691
System Status Page
Closed

Comments

  • markandersonuk started the conversation

    Using the latest version  6.5.1.    

    I think this is purely a cosmetic issue.,    but the System Status page ALWAYS displays :
                         Install Location : Non-standard
    when installed on a windows server.    I traced the problem down to how you are checking the directory in the   '/wp-content/plugins/LayerSlider/views/system_status.php'   file.    

    around lines  94 to 113,   you check the directory and are looking for a directory that contains :  
                                     '/wp-content/plugins/LayerSlider/'

    However in windows installed the slashes are 'FORWARD-SLASHES'   not  'BACKSLASHES'   so, in a  windows install,    the  directory returned is   '\wp-content\plugins\LayerSlider\'     (note the change of slashes)

    A simple fix is (I am not a programmer,  so there are bound to be better fixes)  :  

    Edit File  :     system_status.php

    Add Line directly under  :    
    Line 97:    $test = strpos(LS_ROOT_FILE, '/wp-content/plugins/LayerSlider/');

    New Lines should read : 
    Line 97:    $test = strpos(LS_ROOT_FILE, '/wp-content/plugins/LayerSlider/');
    Line NEW:    if(!$test) {$test = strpos(LS_ROOT_FILE, '\\wpcontent\\plugins\\LayerSlider\\');}

    Thanks for the plugin


    Mark Anderson

  • [deleted] replied

    Hey Mark,

    Thank you for your feedback. We will check on this.