| @@ -101,18 +101,8 @@ | ||
| 101 | 101 | |
| 102 | 102 | // Check if the plugin version has changed. |
| 103 | 103 | WebTotemAgentManager::checkVersion(); |
| 104 | 104 | |
| 105 | - $sapi = @php_sapi_name(); | |
| 106 | - if( $sapi != "cli" ) { | |
| 107 | - if ($waf = WebTotemOption::getOption("waf_file")) { | |
| 108 | - $include_waf_file = ABSPATH . '_include_' . $waf; | |
| 109 | - | |
| 110 | - if (is_file($include_waf_file) && is_readable($include_waf_file)) { | |
| 111 | - include_once $include_waf_file; | |
| 112 | - } | |
| 113 | - } | |
| 114 | - } | |
| 115 | 105 | } |
| 116 | 106 | } |
| 117 | 107 | |
| 118 | 108 | |