2010-09-30 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_db.php: cleaned source code style.
	
	* mobile/include/system.class.php: fixed when include this file in other
	parts of pandora, as when unlogin try generate pdf file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3330 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-09-30 12:43:31 +00:00
parent 1e32858550
commit ab4c1ba0fc
3 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2010-09-30 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: cleaned source code style.
* mobile/include/system.class.php: fixed when include this file in other
parts of pandora, as when unlogin try generate pdf file.
2010-09-30 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: in function "checklogin" fixed the include of

View File

@ -141,7 +141,8 @@ function check_acl ($id_user, $id_group, $access) {
return 0;
} elseif (is_user_admin ($id_user)) {
return 1;
} else {
}
else {
$id_group = (int) $id_group;
}

View File

@ -12,7 +12,9 @@
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
require_once('../include/config.php');
if (!isset($config)) {
require_once('../include/config.php');
}
require_once('db.class.php');
class System {