Permalink
Browse files

Use require_api/require_lib to pull in dependencies

Following up on ea3cd38 which
introduced require_once calls within the core API files to included
dependencies in-place, this commit does a similar thing for user
viewable pages.

Replacements for require_once have been created within core.php to help
optimise the increased number of dependency checks.

require_api and require_lib have the same syntax as require_once however
the first will look within the core directory only, and the second will
look within the library directory only. The library directory can now be
relocated elsewhere by use of the $g_library_path configuration option.

require_api and require_lib use a global array to keep track of which
files have already been included. This is a much simpler check than what
is performed by require_once and hence avoids expensive checking for
symlinks with stat() calls and so forth.
  • Loading branch information...
1 parent cf559e0 commit 2d5455cce290531359a55d353010258c6f3f6f34 @davidhicks davidhicks committed Jan 8, 2010
Showing with 6,806 additions and 3,166 deletions.
  1. +23 −3 account_delete.php
  2. +16 −15 account_manage_columns_page.php
  3. +58 −34 account_page.php
  4. +31 −10 account_prefs_inc.php
  5. +37 −31 account_prefs_page.php
  6. +42 −26 account_prefs_reset.php
  7. +34 −13 account_prefs_update.php
  8. +34 −15 account_prof_edit_page.php
  9. +35 −17 account_prof_menu_page.php
  10. +31 −14 account_prof_update.php
  11. +61 −29 account_sponsor_page.php
  12. +34 −16 account_sponsor_update.php
  13. +40 −16 account_update.php
  14. +28 −10 adm_config_delete.php
  15. +36 −10 adm_config_report.php
  16. +30 −12 adm_config_set.php
  17. +25 −11 adm_permissions_report.php
  18. +21 −4 billing_inc.php
  19. +18 −10 billing_page.php
  20. +9 −5 browser_search_plugin.php
  21. +48 −13 bug_actiongroup.php
  22. +28 −6 bug_actiongroup_add_note_inc.php
  23. +24 −11 bug_actiongroup_attach_tags_inc.php
  24. +32 −13 bug_actiongroup_ext.php
  25. +23 −11 bug_actiongroup_ext_page.php
  26. +42 −14 bug_actiongroup_page.php
  27. +18 −6 bug_actiongroup_update_product_build_inc.php
  28. +15 −1 bug_actiongroup_update_severity_inc.php
  29. +31 −13 bug_assign.php
  30. +26 −14 bug_assign_reporter.php
  31. +44 −15 bug_change_status_page.php
  32. +35 −13 bug_file_add.php
  33. +30 −14 bug_file_delete.php
  34. +22 −9 bug_file_upload_inc.php
  35. +35 −13 bug_monitor_add.php
  36. +31 −13 bug_monitor_delete.php
  37. +20 −0 bug_monitor_list_view_inc.php
  38. +37 −13 bug_relationship_add.php
  39. +43 −18 bug_relationship_delete.php
  40. +34 −15 bug_relationship_graph.php
  41. +26 −15 bug_relationship_graph_img.php
  42. +39 −15 bug_reminder.php
  43. +31 −11 bug_reminder_page.php
  44. +60 −17 bug_report.php
  45. +64 −21 bug_report_page.php
  46. +18 −0 bug_revision_drop.php
  47. +30 −1 bug_revision_view_page.php
  48. +37 −11 bug_set_sponsorship.php
  49. +35 −12 bug_sponsorship_list_view_inc.php
  50. +26 −15 bug_stick.php
  51. +40 −16 bug_update.php
  52. +51 −7 bug_update_advanced_page.php
  53. +4 −3 bug_view_advanced_page.php
  54. +63 −26 bug_view_inc.php
  55. +4 −3 bug_view_page.php
  56. +33 −14 bugnote_add.php
  57. +29 −7 bugnote_add_inc.php
  58. +38 −15 bugnote_delete.php
  59. +52 −25 bugnote_edit_page.php
  60. +35 −14 bugnote_set_view_state.php
  61. +20 −5 bugnote_stats_inc.php
  62. +35 −15 bugnote_update.php
  63. +33 −4 bugnote_view_inc.php
  64. +43 −8 changelog_page.php
  65. +6 −0 config_defaults_inc.php
  66. +121 −118 core.php
  67. +14 −14 core/access_api.php
  68. +1 −1 core/ajax_api.php
  69. +17 −17 core/authentication_api.php
  70. +23 −23 core/bug_api.php
  71. +7 −7 core/bug_group_action_api.php
  72. +2 −2 core/bug_revision_api.php
  73. +15 −15 core/bugnote_api.php
  74. +10 −10 core/category_api.php
  75. +7 −7 core/collapse_api.php
  76. +19 −19 core/columns_api.php
  77. +2 −2 core/compress_api.php
  78. +6 −6 core/config_api.php
  79. +8 −8 core/csv_api.php
  80. +9 −9 core/current_user_api.php
  81. +12 −12 core/custom_field_api.php
  82. +17 −17 core/custom_function_api.php
  83. +11 −14 core/database_api.php
  84. +5 −5 core/date_api.php
  85. +25 −25 core/email_api.php
  86. +5 −5 core/email_queue_api.php
  87. +6 −6 core/error_api.php
  88. +5 −3 core/event_api.php
  89. +11 −11 core/excel_api.php
  90. +11 −11 core/file_api.php
  91. +27 −27 core/filter_api.php
  92. +5 −5 core/form_api.php
  93. +3 −3 core/gpc_api.php
  94. +2 −2 core/graphviz_api.php
  95. +14 −14 core/helper_api.php
  96. +17 −17 core/history_api.php
  97. +21 −21 core/html_api.php
  98. +1 −1 core/http_api.php
  99. +4 −4 core/icon_api.php
  100. +1 −1 core/install_helper_functions_api.php
  101. +1 −1 core/json_api.php
  102. +7 −7 core/lang_api.php
  103. +6 −6 core/last_visited_api.php
  104. +5 −5 core/ldap_api.php
  105. +6 −6 core/logging_api.php
  106. +10 −10 core/news_api.php
  107. +0 −7 core/php_api.php
  108. +10 −10 core/plugin_api.php
  109. +6 −6 core/prepare_api.php
  110. +26 −26 core/print_api.php
  111. +8 −8 core/profile_api.php
  112. +2 −2 core/projax_api.php
  113. +15 −15 core/project_api.php
  114. +2 −2 core/project_hierarchy_api.php
  115. +15 −15 core/relationship_api.php
  116. +9 −9 core/relationship_graph_api.php
  117. +6 −6 core/rss_api.php
  118. +5 −5 core/session_api.php
  119. +8 −8 core/sponsorship_api.php
  120. +12 −12 core/string_api.php
  121. +13 −13 core/summary_api.php
  122. +13 −13 core/tag_api.php
  123. +3 −3 core/tokens_api.php
  124. +10 −10 core/twitter_api.php
  125. +16 −16 core/user_api.php
  126. +8 −8 core/user_pref_api.php
  127. +3 −3 core/utility_api.php
  128. +8 −8 core/version_api.php
  129. +4 −4 core/wiki_api.php
  130. +8 −8 core/xmlhttprequest_api.php
  131. +26 −14 csv_export.php
  132. +34 −18 excel_xml_export.php
  133. +35 −16 file_download.php
  134. +26 −10 history_inc.php
  135. +9 −3 index.php
  136. +47 −24 issues_rss.php
  137. +16 −10 jump_to_bug.php
  138. +26 −11 login.php
  139. +29 −20 login_anon.php
  140. +22 −12 login_cookie_test.php
  141. +37 −13 login_page.php
  142. +28 −11 login_select_proj_page.php
  143. +16 −10 logout_page.php
  144. +35 −11 lost_pwd.php
  145. +25 −11 lost_pwd_page.php
  146. +37 −19 main_page.php
  147. +17 −11 make_captcha_img.php
  148. +28 −14 manage_columns_copy.php
  149. +30 −13 manage_columns_inc.php
  150. +16 −14 manage_config_columns_page.php
  151. +22 −12 manage_config_columns_reset.php
  152. +34 −13 manage_config_columns_set.php
  153. +32 −12 manage_config_email_page.php
  154. +32 −12 manage_config_email_set.php
  155. +34 −10 manage_config_revert.php
  156. +34 −12 manage_config_work_threshold_page.php
  157. +30 −12 manage_config_work_threshold_set.php
  158. +32 −12 manage_config_workflow_page.php
  159. +32 −12 manage_config_workflow_set.php
  160. +30 −12 manage_custom_field_create.php
  161. +31 −11 manage_custom_field_delete.php
  162. +31 −11 manage_custom_field_edit_page.php
  163. +27 −11 manage_custom_field_page.php
  164. +24 −10 manage_custom_field_proj_add.php
  165. +27 −11 manage_custom_field_update.php
  166. +27 −9 manage_overview_page.php
  167. +26 −13 manage_plugin_install.php
  168. +25 −3 manage_plugin_page.php
  169. +30 −14 manage_plugin_uninstall.php
  170. +17 −5 manage_plugin_update.php
  171. +26 −13 manage_plugin_upgrade.php
  172. +31 −11 manage_proj_cat_add.php
  173. +25 −11 manage_proj_cat_copy.php
  174. +33 −11 manage_proj_cat_delete.php
  175. +31 −11 manage_proj_cat_edit_page.php
  176. +32 −12 manage_proj_cat_update.php
  177. +36 −12 manage_proj_create.php
  178. +30 −10 manage_proj_create_page.php
  179. +28 −12 manage_proj_custom_field_add_existing.php
  180. +26 −10 manage_proj_custom_field_copy.php
  181. +31 −11 manage_proj_custom_field_remove.php
  182. +28 −12 manage_proj_custom_field_update.php
  183. +30 −10 manage_proj_delete.php
  184. +54 −15 manage_proj_edit_page.php
  185. +44 −12 manage_proj_page.php
  186. +32 −10 manage_proj_subproj_add.php
  187. +28 −10 manage_proj_subproj_delete.php
  188. +26 −10 manage_proj_update.php
  189. +26 −12 manage_proj_update_children.php
  190. +24 −10 manage_proj_user_add.php
  191. +26 −10 manage_proj_user_copy.php
  192. +32 −10 manage_proj_user_remove.php
  193. +34 −12 manage_proj_ver_add.php
  194. +29 −11 manage_proj_ver_copy.php
  195. +30 −12 manage_proj_ver_delete.php
  196. +36 −10 manage_proj_ver_edit_page.php
  197. +34 −12 manage_proj_ver_update.php
  198. +26 −10 manage_tags_page.php
  199. +38 −12 manage_user_create.php
  200. +28 −10 manage_user_create_page.php
  201. +32 −10 manage_user_delete.php
  202. +38 −10 manage_user_edit_page.php
  203. +36 −12 manage_user_page.php
  204. +24 −10 manage_user_proj_add.php
  205. +30 −10 manage_user_proj_delete.php
  206. +30 −10 manage_user_prune.php
  207. +30 −10 manage_user_reset.php
  208. +42 −12 manage_user_update.php
  209. +31 −20 my_view_inc.php
  210. +36 −14 my_view_page.php
  211. +29 −12 news_add.php
  212. +34 −13 news_edit_page.php
  213. +27 −12 news_list_page.php
  214. +28 −10 news_menu_page.php
  215. +34 −16 news_rss.php
  216. +25 −13 news_update.php
  217. +26 −13 news_view_page.php
  218. +26 −10 permalink_page.php
  219. +17 −9 plugin.php
  220. +20 −13 plugin_file.php
  221. +24 −8 print_all_bug_options_inc.php
  222. +18 −14 print_all_bug_options_page.php
  223. +31 −14 print_all_bug_options_reset.php
  224. +31 −11 print_all_bug_options_update.php
  225. +42 −24 print_all_bug_page.php
  226. +56 −20 print_all_bug_page_word.php
  227. +58 −16 print_bug_page.php
  228. +34 −11 print_bugnote_inc.php
  229. +31 −11 proj_doc_add.php
  230. +23 −11 proj_doc_add_page.php
  231. +32 −10 proj_doc_delete.php
  232. +32 −12 proj_doc_edit_page.php
  233. +37 −11 proj_doc_page.php
  234. +34 −12 proj_doc_update.php
  235. +32 −14 project_page.php
  236. +26 −17 query_delete.php
  237. +27 −16 query_delete_page.php
  238. +29 −16 query_store.php
  239. +31 −16 query_store_page.php
  240. +30 −18 query_view_page.php
  241. +32 −17 return_dynamic_filters.php
  242. +50 −12 roadmap_page.php
  243. +26 −13 search.php
  244. +34 −12 set_project.php
  245. +32 −12 signup.php
  246. +26 −10 signup_page.php
  247. +34 −12 summary_page.php
  248. +39 −14 tag_attach.php
  249. +13 −7 tag_create.php
  250. +25 −14 tag_delete.php
  251. +19 −14 tag_detach.php
  252. +27 −14 tag_update.php
  253. +41 −18 tag_update_page.php
  254. +35 −14 tag_view_page.php
  255. +26 −15 verify.php
  256. +2 −0 view.php
  257. +32 −14 view_all_bug_page.php
  258. +32 −31 view_all_inc.php
  259. +38 −10 view_all_set.php
  260. +42 −19 view_filters_page.php
  261. +35 −11 view_user_page.php
  262. +19 −11 wiki.php
  263. +22 −15 xmlhttprequest.php
View
@@ -37,11 +37,31 @@
* @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
* @copyright Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
* @link http://www.mantisbt.org
+ *
+ * @uses core.php
+ * @uses access_api.php
+ * @uses authentication_api.php
+ * @uses config_api.php
+ * @uses constant_inc.php
+ * @uses current_user_api.php
+ * @uses form_api.php
+ * @uses helper_api.php
+ * @uses lang_api.php
+ * @uses print_api.php
+ * @uses user_api.php
*/
- /**
- * MantisBT Core API's
- */
+
require_once( 'core.php' );
+require_api( 'access_api.php' );
+require_api( 'authentication_api.php' );
+require_api( 'config_api.php' );
+require_api( 'constant_inc.php' );
+require_api( 'current_user_api.php' );
+require_api( 'form_api.php' );
+require_api( 'helper_api.php' );
+require_api( 'lang_api.php' );
+require_api( 'print_api.php' );
+require_api( 'user_api.php' );
form_security_validate('account_delete');
@@ -14,21 +14,22 @@
# You should have received a copy of the GNU General Public License
# along with MantisBT. If not, see <http://www.gnu.org/licenses/>.
- /**
- * @package MantisBT
- * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
- * @copyright Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
- * @link http://www.mantisbt.org
- */
- /**
- * MantisBT Core API's
- */
- require_once( 'core.php' );
-
- require_once( 'authentication_api.php' );
- require_once( 'columns_api.php' );
- require_once( 'custom_field_api.php' );
- require_once( 'helper_api.php' );
+/**
+ * @package MantisBT
+ * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
+ * @copyright Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
+ * @link http://www.mantisbt.org
+ *
+ * @uses core.php
+ * @uses current_user_api.php
+ * @uses html_api.php
+ * @uses lang_api.php
+ */
+
+require_once( 'core.php' );
+require_api( 'current_user_api.php' );
+require_api( 'html_api.php' );
+require_api( 'lang_api.php' );
html_page_top( lang_get( 'manage_columns_config' ) );
View
@@ -14,40 +14,64 @@
# You should have received a copy of the GNU General Public License
# along with MantisBT. If not, see <http://www.gnu.org/licenses/>.
- /**
- * CALLERS
- * This page is called from:
- * - print_menu()
- * - print_account_menu()
- * - header redirects from account_*.php
- * - included by verify.php to allow user to change their password
- *
- * EXPECTED BEHAVIOUR
- * - Display the user's current settings
- * - Allow the user to edit their settings
- * - Allow the user to save their changes
- * - Allow the user to delete their account if account deletion is enabled
- *
- * CALLS
- * This page calls the following pages:
- * - account_update.php (to save changes)
- * - account_delete.php (to delete the user's account)
- *
- * RESTRICTIONS & PERMISSIONS
- * - User must be authenticated
- * - The user's account must not be protected
- *
- * @package MantisBT
- * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
- * @copyright Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
- * @link http://www.mantisbt.org
- */
- /**
- * MantisBT Core API's
- */
- require_once( 'core.php' );
-
- require_once( 'current_user_api.php' );
+/**
+ * CALLERS
+ * This page is called from:
+ * - print_menu()
+ * - print_account_menu()
+ * - header redirects from account_*.php
+ * - included by verify.php to allow user to change their password
+ *
+ * EXPECTED BEHAVIOUR
+ * - Display the user's current settings
+ * - Allow the user to edit their settings
+ * - Allow the user to save their changes
+ * - Allow the user to delete their account if account deletion is enabled
+ *
+ * CALLS
+ * This page calls the following pages:
+ * - account_update.php (to save changes)
+ * - account_delete.php (to delete the user's account)
+ *
+ * RESTRICTIONS & PERMISSIONS
+ * - User must be authenticated
+ * - The user's account must not be protected
+ *
+ * @package MantisBT
+ * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
+ * @copyright Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
+ * @link http://www.mantisbt.org
+ *
+ * @uses core.php
+ * @uses authentication_api.php
+ * @uses config_api.php
+ * @uses constant_inc.php
+ * @uses current_user_api.php
+ * @uses form_api.php
+ * @uses helper_api.php
+ * @uses html_api.php
+ * @uses lang_api.php
+ * @uses ldap_api.php
+ * @uses print_api.php
+ * @uses string_api.php
+ * @uses user_api.php
+ * @uses utility_api.php
+ */
+
+require_once( 'core.php' );
+require_api( 'authentication_api.php' );
+require_api( 'config_api.php' );
+require_api( 'constant_inc.php' );
+require_api( 'current_user_api.php' );
+require_api( 'form_api.php' );
+require_api( 'helper_api.php' );
+require_api( 'html_api.php' );
+require_api( 'lang_api.php' );
+require_api( 'ldap_api.php' );
+require_api( 'print_api.php' );
+require_api( 'string_api.php' );
+require_api( 'user_api.php' );
+require_api( 'utility_api.php' );
#============ Parameters ============
# (none)
View
@@ -14,17 +14,38 @@
# You should have received a copy of the GNU General Public License
# along with MantisBT. If not, see <http://www.gnu.org/licenses/>.
- /**
- * @package MantisBT
- * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
- * @copyright Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
- * @link http://www.mantisbt.org
- */
- /**
- * MantisBT Core API's
- */
+/**
+ * @package MantisBT
+ * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
+ * @copyright Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
+ * @link http://www.mantisbt.org
+ *
+ * @uses authentication_api.php
+ * @uses config_api.php
+ * @uses constant_inc.php
+ * @uses event_api.php
+ * @uses form_api.php
+ * @uses helper_api.php
+ * @uses html_api.php
+ * @uses lang_api.php
+ * @uses print_api.php
+ * @uses user_api.php
+ * @uses user_pref_api.php
+ * @uses utility_api.php
+ */
- require_once( 'user_pref_api.php' );
+require_api( 'authentication_api.php' );
+require_api( 'config_api.php' );
+require_api( 'constant_inc.php' );
+require_api( 'event_api.php' );
+require_api( 'form_api.php' );
+require_api( 'helper_api.php' );
+require_api( 'html_api.php' );
+require_api( 'lang_api.php' );
+require_api( 'print_api.php' );
+require_api( 'user_api.php' );
+require_api( 'user_pref_api.php' );
+require_api( 'utility_api.php' );
function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_accounts_menu = true, $p_redirect_url = '') {
if ( null === $p_user_id ) {
@@ -14,37 +14,43 @@
# You should have received a copy of the GNU General Public License
# along with MantisBT. If not, see <http://www.gnu.org/licenses/>.
- /**
- * CALLERS
- * This page is called from:
- * - print_account_menu()
- * - header redirects from account_*.php
- *
- * EXPECTED BEHAVIOUR
- * - Display the user's current preferences
- * - Allow the user to edit the preferences
- * - Provide the option of saving changes or resetting to default values
- *
- * CALLS
- * This page calls the following pages:
- * - acount_prefs_update.php (to save changes)
- * - account_prefs_reset.php (to reset preferences to default values)
- *
- * RESTRICTIONS & PERMISSIONS
- * - User must be authenticated
- * - The user's account must not be protected
- *
- * @package MantisBT
- * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
- * @copyright Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
- * @link http://www.mantisbt.org
- */
- /**
- * MantisBT Core API's
- */
- require_once( 'core.php' );
-
- require_once( 'current_user_api.php' );
+/**
+ * CALLERS
+ * This page is called from:
+ * - print_account_menu()
+ * - header redirects from account_*.php
+ *
+ * EXPECTED BEHAVIOUR
+ * - Display the user's current preferences
+ * - Allow the user to edit the preferences
+ * - Provide the option of saving changes or resetting to default values
+ *
+ * CALLS
+ * This page calls the following pages:
+ * - acount_prefs_update.php (to save changes)
+ * - account_prefs_reset.php (to reset preferences to default values)
+ *
+ * RESTRICTIONS & PERMISSIONS
+ * - User must be authenticated
+ * - The user's account must not be protected
+ *
+ * @package MantisBT
+ * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
+ * @copyright Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
+ * @link http://www.mantisbt.org
+ *
+ * @uses core.php
+ * @uses authentication_api.php
+ * @uses current_user_api.php
+ * @uses html_api.php
+ * @uses lang_api.php
+ */
+
+require_once( 'core.php' );
+require_api( 'authentication_api.php' );
+require_api( 'current_user_api.php' );
+require_api( 'html_api.php' );
+require_api( 'lang_api.php' );
#============ Parameters ============
# (none)
@@ -14,33 +14,49 @@
# You should have received a copy of the GNU General Public License
# along with MantisBT. If not, see <http://www.gnu.org/licenses/>.
- /**
- * CALLERS
- * This page is called from:
- * - account_prefs_inc.php
- *
- * EXPECTED BEHAVIOUR
- * - Reset the user's preferences to default values
- * - Redirect to account_prefs_page.php or another page, if given
- *
- * CALLS
- * This page conditionally redirects upon completion
- *
- * RESTRICTIONS & PERMISSIONS
- * - User must be authenticated
- * - User must not be protected
- *
- * @package MantisBT
- * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
- * @copyright Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
- * @link http://www.mantisbt.org
- */
- /**
- * MantisBT Core API's
- */
- require_once( 'core.php' );
+/**
+ * CALLERS
+ * This page is called from:
+ * - account_prefs_inc.php
+ *
+ * EXPECTED BEHAVIOUR
+ * - Reset the user's preferences to default values
+ * - Redirect to account_prefs_page.php or another page, if given
+ *
+ * CALLS
+ * This page conditionally redirects upon completion
+ *
+ * RESTRICTIONS & PERMISSIONS
+ * - User must be authenticated
+ * - User must not be protected
+ *
+ * @package MantisBT
+ * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
+ * @copyright Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
+ * @link http://www.mantisbt.org
+ *
+ * @uses core.php
+ * @uses access_api.php
+ * @uses authentication_api.php
+ * @uses config_api.php
+ * @uses form_api.php
+ * @uses gpc_api.php
+ * @uses print_api.php
+ * @uses string_api.php
+ * @uses user_api.php
+ * @uses user_pref_api.php
+ */
- require_once( 'user_pref_api.php' );
+require_once( 'core.php' );
+require_api( 'access_api.php' );
+require_api( 'authentication_api.php' );
+require_api( 'config_api.php' );
+require_api( 'form_api.php' );
+require_api( 'gpc_api.php' );
+require_api( 'print_api.php' );
+require_api( 'string_api.php' );
+require_api( 'user_api.php' );
+require_api( 'user_pref_api.php' );
#============ Parameters ============
$f_user_id = gpc_get_int( 'user_id' );
Oops, something went wrong.

0 comments on commit 2d5455c

Please sign in to comment.