Commits

Anonymous committed c844a50

Made changes mentioned by vollmilch, added GPL-header

  • Participants
  • Parent commits 9cf1690

Comments (0)

Files changed (3)

File brain/newworld.php

 $cwd = getcwd ();
 ini_set("include_path", "".$cwd."/../php:".$cwd."/../php/base:".$cwd."/../var/php:.");
 
-require_once ("config.inc.php");
-require_once ("user.inc.php");
+require_once ("../php/base/config.inc.php");
+require_once ("../php/base/user.inc.php");
 require_once ("newmap_handling.php");
 
 ignore_user_abort (false);

File brain/settle.php

 $cwd = getcwd ();
 ini_set("include_path", "".$cwd."/../php:".$cwd."/../php/base:".$cwd."/../var/php:.");
 
-require_once ("user.inc.php");
+require_once ("../php/base/user.inc.php");
 
 define ("MINDIST", 6);
 

File osdependencies.php

 <?php
+
+/* osdependencies.php - code for os interoperability 
+ *
+ * Copyright (C) 2010 Simone Schaefer
+ *
+ * This file is part of Selador, a browser-based fantasy strategy game
+ *
+ * This program is distributed under the terms of the GNU Affero General Public License.
+ *
+ *
+ *   Selador is free software: you can redistribute it and/or modify
+ *   it under the terms of the GNU Affero General Public License as published by
+ *   the Free Software Foundation, either version 3 of the License, or
+ *   any later version.
+ *
+ *   Selador is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU Affero General Public License for more details.
+ *
+ *   You should have received a copy of the GNU Affero General Public License
+ *   along with Selador.  If not, see <http://www.gnu.org/licenses/>.
+ **/
+
 define ("SEPARATOR", ";");
 $cwd = getcwd ();
 //mixed str_replace ( mixed $search , mixed $replace , mixed $subject [, int &$count ] )