Commit c53695f5 authored by tbrehm's avatar tbrehm
Browse files

- Fixed some php notices.

- Added error_reporting level in app.inc.php to E_ALL & ~E_NOTICE
parent 8506fc9f
......@@ -28,12 +28,17 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
//* Enable gzip compression for the interface
ob_start('ob_gzhandler');
//* Set error reporting level when we are not on a developer system
if(DEVSYSTEM == 0) {
@ini_set('error_reporting', E_ALL & ~E_NOTICE);
}
/*
Application Class
*/
ob_start('ob_gzhandler');
class app {
private $_language_inc = 0;
......
......@@ -45,6 +45,7 @@ $revision = str_replace(array('Revision:','$',' '), '', $svn_revision);
//** Application
define('ISPC_APP_TITLE', 'ISPConfig');
define('ISPC_APP_VERSION', '3.0.2');
define('DEVSYSTEM', 0);
//** Database
......
......@@ -51,6 +51,8 @@ switch($_SESSION['s']['user']['typ']) {
$atom_url = "";
}
$rows = array();
if( $atom_url != '' ) {
if(!isset($_SESSION['s']['rss_news'])) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment