News Module Documentation
Allows the ability to print server-wide news.
The functions within this module may or may not be governed by a feature list. The required feature list may vary from function to function, to review a total list of the available features sets on a cPanel server, please see "Feature Manager" in WHM.
| API Version:
|| 1 - Click here for documentation
|| News::displaynews( )
|| Display the cPanel news file. This function will display the news in the order of precedence:
Each additional news entry will be printed after the previous one. Potentially every news item could be displayed.
- /var/cpanel/news/global-resold (if the user's account is not owned by root)
- /var/cpanel/news/$owner/news (if neither of the above two exist, will attempt to display News for the actual reseller owner of the account)
The output will contain the cPanel news file.
Topic revision: r2 - 27 Mar 2012 - 19:04:16 - Main.JenniferDoubrava