equal
deleted
inserted
replaced
184 // For special and administration pages, sometimes there is a "preloader" function that must be run |
184 // For special and administration pages, sometimes there is a "preloader" function that must be run |
185 // before the session manager and/or path manager get the init signal. Call it here. |
185 // before the session manager and/or path manager get the init signal. Call it here. |
186 $p = RenderMan::strToPageId($paths->get_pageid_from_url()); |
186 $p = RenderMan::strToPageId($paths->get_pageid_from_url()); |
187 if( ( $p[1] == 'Admin' || $p[1] == 'Special' ) && function_exists('page_'.$p[1].'_'.$p[0].'_preloader')) |
187 if( ( $p[1] == 'Admin' || $p[1] == 'Special' ) && function_exists('page_'.$p[1].'_'.$p[0].'_preloader')) |
188 { |
188 { |
189 @call_user_func('page_'.$p[1].'_'.$p[0].'_preloader'); |
189 call_user_func('page_'.$p[1].'_'.$p[0].'_preloader'); |
190 } |
190 } |
191 |
191 |
192 profiler_log('Checked for preloader'); |
192 profiler_log('Checked for preloader'); |
193 |
193 |
194 // One quick security check... |
194 // One quick security check... |