~ubuntu-branches/ubuntu/jaunty/moodle/jaunty

« back to all changes in this revision

Viewing changes to admin/phpinfo.php

  • Committer: Bazaar Package Importer
  • Author(s): Jordan Mantha, Matt Oquist
  • Date: 2009-02-25 15:16:22 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20090225151622-0ekt1liwhv2obfza
Tags: 1.9.4.dfsg-0ubuntu1
* Merge with Debian git (Closes LP: #322961, #239481, #334611):
  - use Ubuntu's smarty lib directory for linking
  - use internal yui library 
  - add update-notifier support back in

[Matt Oquist]
  * renamed prerm script
  * significantly rewrote postinst and other maintainer scripts to improve
    user experience and package maintainability
    (Closes LP: #225662, #325450, #327843, #303078, #234609)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?PHP  // $Id: phpinfo.php,v 1.8 2007/01/13 20:11:31 stronk7 Exp $
 
1
<?PHP  // $Id: phpinfo.php,v 1.9 2007/04/30 17:08:36 skodak Exp $
2
2
       // phpinfo.php - shows phpinfo for the current server
3
3
 
4
4
    require_once("../config.php");
5
5
    require_once($CFG->libdir.'/adminlib.php');
6
6
 
7
 
    $adminroot = admin_get_root();
8
 
    admin_externalpage_setup('phpinfo', $adminroot);
9
 
 
10
 
    require_login();
11
 
 
12
 
    require_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM, SITEID));
13
 
 
14
 
    admin_externalpage_print_header($adminroot);
 
7
    admin_externalpage_setup('phpinfo');
 
8
 
 
9
    admin_externalpage_print_header();
15
10
 
16
11
    echo '<div class="phpinfo">';
17
12
 
33
28
 
34
29
    echo '</div>';
35
30
 
36
 
    admin_externalpage_print_footer($adminroot);
 
31
    admin_externalpage_print_footer();
37
32
 
38
33
?>