[ Index ]

PHP Cross Reference of Nucleus CMS 3.32

title

Body

[close]

/ -> action.php (source)

   1  <?php
   2  /*
   3   * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
   4   * Copyright (C) 2002-2007 The Nucleus Group
   5   *
   6   * This program is free software; you can redistribute it and/or
   7   * modify it under the terms of the GNU General Public License
   8   * as published by the Free Software Foundation; either version 2
   9   * of the License, or (at your option) any later version.
  10   * (see nucleus/documentation/index.html#license for more info)
  11   */
  12  
  13  /**
  14   * File containing actions that can be performed by visitors of the site,
  15   * like adding comments, etc...
  16   * @license http://nucleuscms.org/license.txt GNU General Public License
  17   * @copyright Copyright (C) 2002-2007 The Nucleus Group
  18   * @version $Id: action.php 1194 2007-09-05 05:49:25Z kimitake $
  19   */
  20  
  21  $CONF = array();
  22  require ('./config.php');
  23  
  24  // common functions
  25  include_once ($DIR_LIBS . 'ACTION.php');
  26  
  27  $action = requestVar('action');
  28  $a =& new ACTION();
  29  $errorInfo = $a->doAction($action);
  30  
  31  if ($errorInfo) {
  32      doError($errorInfo['message'], new SKIN($errorInfo['skinid']) );
  33  }
  34  
  35  ?>


Generated: Tue Feb 12 15:34:36 2008 Cross-referenced by PHPXref 0.7