~armagetronad-ap/armagetronad/BattleMania

« back to all changes in this revision

Viewing changes to common.php

  • Committer: zodiacsohma1 at gmail
  • Date: 2014-03-02 08:09:55 UTC
  • Revision ID: zodiacsohma1@gmail.com-20140302080955-r5ot6eipfe0nlpww
Simplified all fields and code in all areas for better as they seem to repeat themselves.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
//  enable error reporting for any/all errors in scripts
11
11
error_reporting(E_ALL);                 //  report for all errors
12
12
ini_set('display_errors', '0');         //  don't display errors (not for fatal)
13
 
ini_set('memory_limit', '256M');
 
13
//ini_set('memory_limit', '256M');
14
14
 
15
15
require "base.php";
16
16
 
30
30
    '/home/vertrex/.armagetronad-dedicated/resource/automatic'                //  path to where maps get downloaded to
31
31
);
32
32
 
33
 
Base::$base->mainCFGDir   = '';
34
33
Base::$base->battleCFGDir = 'Modes/battle_mania/';
35
34
 
36
35
set_error_handler('MyErrorHandler');                //  the function to handle errors catches