stableversion-3.0
Last change
on this file since 6926c6e was
b354002,
checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago
|
se agrego el directorio del cord
|
-
Propiedad mode establecida a
100755
|
File size:
923 octetos
|
Ver. | Línea | |
---|
[b354002] | 1 | <?php |
---|
| 2 | |
---|
| 3 | /** |
---|
| 4 | * @file |
---|
| 5 | * The PHP page that serves all page requests on a Drupal installation. |
---|
| 6 | * |
---|
| 7 | * The routines here dispatch control to the appropriate handler, which then |
---|
| 8 | * prints the appropriate page. |
---|
| 9 | * |
---|
| 10 | * All Drupal code is released under the GNU General Public License. |
---|
| 11 | * See COPYRIGHT.txt and LICENSE.txt. |
---|
| 12 | */ |
---|
| 13 | |
---|
| 14 | require_once './includes/bootstrap.inc'; |
---|
| 15 | drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); |
---|
| 16 | |
---|
| 17 | $return = menu_execute_active_handler(); |
---|
| 18 | |
---|
| 19 | // Menu status constants are integers; page content is a string. |
---|
| 20 | if (is_int($return)) { |
---|
| 21 | switch ($return) { |
---|
| 22 | case MENU_NOT_FOUND: |
---|
| 23 | drupal_not_found(); |
---|
| 24 | break; |
---|
| 25 | case MENU_ACCESS_DENIED: |
---|
| 26 | drupal_access_denied(); |
---|
| 27 | break; |
---|
| 28 | case MENU_SITE_OFFLINE: |
---|
| 29 | drupal_site_offline(); |
---|
| 30 | break; |
---|
| 31 | } |
---|
| 32 | } |
---|
| 33 | elseif (isset($return)) { |
---|
| 34 | // Print any value (including an empty string) except NULL or undefined: |
---|
| 35 | print theme('page', $return); |
---|
| 36 | } |
---|
| 37 | |
---|
| 38 | drupal_page_footer(); |
---|
Nota: Vea
TracBrowser
para ayuda de uso del navegador del repositorio.