PluginProbe
ShiftController Employee Shift Scheduling / 2.2.3
ShiftController Employee Shift Scheduling v2.2.3
4.9.97 4.9.96 4.9.95 4.9.74 4.9.75 4.9.76 4.9.77 4.9.78 4.9.84 4.9.85 4.9.87 4.9.91 4.9.92 trunk 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.2.4 All 38 releases
← All changes | happ/system/core/Exceptions.php +3 -9 3.2.42.2.3 View file →
@@ -103,12 +103,9 @@
103 103 */
104 104 function show_404($page = '', $log_error = TRUE)
105 105 {
106 106 $heading = "404 Page Not Found";
107 - $message = "The page you requested was not found";
108 - if( defined('NTS_DEVELOPMENT') ){
109 - $message .= "<br>Trying: $page";
110 - }
107 + $message = "The page you requested was not found.";
111 108
112 109 // By default we log this, but allow a dev to skip it
113 110 if ($log_error)
114 111 {
@@ -145,11 +142,9 @@
145 142 {
146 143 ob_end_flush();
147 144 }
148 145 ob_start();
149 -// include(APPPATH.'errors/'.$template.'.php');
150 - include(NTS_SYSTEM_APPPATH.'errors/'.$template.'.php');
151 -
146 + include(APPPATH.'errors/'.$template.'.php');
152 147 $buffer = ob_get_contents();
153 148 ob_end_clean();
154 149 return $buffer;
155 150 }
@@ -183,10 +178,9 @@
183 178 {
184 179 ob_end_flush();
185 180 }
186 181 ob_start();
187 -// include(APPPATH.'errors/error_php.php');
188 - include(NTS_SYSTEM_APPPATH.'errors/error_php.php');
182 + include(APPPATH.'errors/error_php.php');
189 183 $buffer = ob_get_contents();
190 184 ob_end_clean();
191 185 echo $buffer;
192 186 }