From: Waldir Pimenta Date: Fri, 15 Feb 2013 07:31:48 +0000 (+0000) Subject: Clean up access points X-Git-Tag: 1.31.0-rc.0~16452^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/voir.php?a=commitdiff_plain;h=86a9b8c06c446d4afa688bc81832813e0f8e32df;p=lhc%2Fweb%2Fwiklou.git Clean up access points * Harmonize spacing * Use // for comments rather than # * Harmonize call style for 'require', 'include' etc. * Add missing profileinfo.php5 * Use "./" for path to api.php in api.php5 (to match other php5 files). * Move documentation related to Setup.php from index.php to WebStart.php * Remove "Initialise common code." comment in api.php (was already remove in most entry points) Change-Id: I8dc4a79fd13cee49e34f250a4039b3666bd42aca --- diff --git a/api.php b/api.php index 554c2726bc..e55ec75a33 100644 --- a/api.php +++ b/api.php @@ -40,7 +40,6 @@ if ( !function_exists( 'version_compare' ) || version_compare( phpversion(), '5. wfPHPVersionError( 'api.php' ); } -// Initialise common code. require __DIR__ . '/includes/WebStart.php'; wfProfileIn( 'api.php' ); diff --git a/api.php5 b/api.php5 index 1828b7b4d1..524dfd5463 100644 --- a/api.php5 +++ b/api.php5 @@ -1,7 +1,7 @@