Rev 906 | Rev 1082 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 906 | Rev 1050 | ||
---|---|---|---|
Line 15... | Line 15... | ||
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
16 | * See the License for the specific language governing permissions and |
16 | * See the License for the specific language governing permissions and |
17 | * limitations under the License. |
17 | * limitations under the License. |
18 | */ |
18 | */ |
19 | 19 | ||
20 | if (!defined('INSIDE_OIDPLUS')) die(); |
20 | namespace ViaThinkSoft\OIDplus; |
21 | 21 | ||
22 | class OIDplusPageAdminSystemFileCheck extends OIDplusPagePluginAdmin { |
22 | class OIDplusPageAdminSystemFileCheck extends OIDplusPagePluginAdmin { |
23 | 23 | ||
24 | public function init($html=true) { |
24 | public function init($html=true) { |
25 | } |
25 | } |
Line 118... | Line 118... | ||
118 | } |
118 | } |
119 | 119 | ||
120 | if ($num == 0) { |
120 | if ($num == 0) { |
121 | $out['text'] .= _L('Everything OK!'); |
121 | $out['text'] .= _L('Everything OK!'); |
122 | } |
122 | } |
123 | } catch (Exception $e) { |
123 | } catch (\Exception $e) { |
124 | $out['text'] .= mb_strtoupper(_L('Error')).': '.htmlentities($e->getMessage()); |
124 | $out['text'] .= mb_strtoupper(_L('Error')).': '.htmlentities($e->getMessage()); |
125 | } |
125 | } |
126 | 126 | ||
127 | $out['text'] .= '</pre>'; |
127 | $out['text'] .= '</pre>'; |
128 | } else { |
128 | } else { |