All pastes #924897 Raw Edit

Untitled

public text v1 · immutable
·published 2008-03-01 20:23 UTC
rendered paste body
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

require_once( $mainframe->getPath( 'toolbar_html' ) );
require_once( $mainframe->getPath( 'toolbar_default' ) );

switch ($task) {
  case "new":
    menuakobook::NEW_MENU();
    break;

  case "edit":
    menuakobook::EDIT_MENU();
    break;

  case "config":
    menuakobook::CONFIG_MENU();
    break;

  case "about":
    menuakobook::ABOUT_MENU();
    break;

  case "language";
    menuakobook::LANG_MENU();
    break;

  default:
    MENU_Default::MENU_Default();
    break;
}
/*
 my fatal error is in line 29, which is the static call in "default:".
*/
?>