summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 84699f7)
raw | patch | inline | side by side (parent: 84699f7)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 3 Sep 2007 13:15:33 +0000 (13:15 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 3 Sep 2007 13:15:33 +0000 (13:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7201 594d385d-05f5-0310-b6e9-bd551577e9d8
21 files changed:
diff --git a/html/combine.php b/html/combine.php
index 2eadab8a960f68c97460d54146e8f9dbf7299378..d5c23fc79d80365f0fe7901f5ce8ae921c681d04 100644 (file)
--- a/html/combine.php
+++ b/html/combine.php
imagecopy ($pic, $image2, imagesx($image1), 0, 0, 0, imagesx($image2), imagesy($image2));
imagePng($pic);
-error_reporting (E_ALL);
+error_reporting (E_ALL | E_STRICT);
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>
diff --git a/html/getFAIscript.php b/html/getFAIscript.php
index 6c3cfeb37630b3db56c78f2e1164fa27206a6791..8be8f02fbfe137541c1c11c86a6062e6bf4a9408 100644 (file)
--- a/html/getFAIscript.php
+++ b/html/getFAIscript.php
/* Basic setup, remove eventually registered sessions */
@require_once ("../include/php_setup.inc");
@require_once ("functions.inc");
-error_reporting (E_ALL);
+error_reporting (E_ALL | E_STRICT);
session_start ();
/* Logged in? Simple security check */
diff --git a/html/getbin.php b/html/getbin.php
index 1817439c4b5b281d619eeec90a6e2dfa7e1303dc..daa16de6eb6cfb62aea7b6bd3a2f7475f725d965 100644 (file)
--- a/html/getbin.php
+++ b/html/getbin.php
}
echo $_SESSION['binary'];
-error_reporting (E_ALL);
+error_reporting (E_ALL | E_STRICT);
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>
diff --git a/html/getkiosk.php b/html/getkiosk.php
index cde88c5a063e006b555318ccace6625a294a5777..ba0ea77ee2f283ad87e16a06b62ea4e96f06a0c6 100644 (file)
--- a/html/getkiosk.php
+++ b/html/getkiosk.php
/* Basic setup, remove eventually registered sessions */
@require_once ("../include/php_setup.inc");
@require_once ("functions.inc");
-error_reporting (E_ALL);
+error_reporting (E_ALL | E_STRICT);
session_start ();
/* Logged in? Simple security check */
diff --git a/html/getldif.php b/html/getldif.php
index 6241d4fa7fec675f277a3c08afb78eb8b4918d60..95964d3ffec95077440beef2b3e41da39acb23dc 100644 (file)
--- a/html/getldif.php
+++ b/html/getldif.php
/* Basic setup, remove eventually registered sessions */
@require_once ("../include/php_setup.inc");
@require_once ("functions.inc");
-error_reporting (E_ALL);
+error_reporting (E_ALL | E_STRICT);
session_start ();
/* Logged in? Simple security check */
diff --git a/html/helpviewer.php b/html/helpviewer.php
index b07cfb551157e7a32e4a050970fe30f93e3a4539..4cbc459abf94bd630ae888d5c414469b832aef5e 100644 (file)
--- a/html/helpviewer.php
+++ b/html/helpviewer.php
@require_once ("functions.inc");
@require_once ("functions_helpviewer.inc");
-error_reporting(E_ALL);
+error_reporting(E_ALL | E_STRICT);
restore_error_handler();
header("Content-type: text/html; charset=UTF-8");
diff --git a/html/index.php b/html/index.php
index 813ef72dc062013a59467d50a7248d17453504a6..77c375bc909e773937b1a4bef44171ac5cfd5cf4 100644 (file)
--- a/html/index.php
+++ b/html/index.php
function displayLogin()
{
global $smarty,$message,$config,$ssl,$error_collector;
- error_reporting(E_ALL);
+ error_reporting(E_ALL | E_STRICT);
/* Fill template with required values */
$username = "";
if(isset($_POST["username"])){
index c466c97970dce148f5869dea74ccf82e0a8683a9..e16945b88eb1415d26b23a78da6a8d3d11b8405b 100644 (file)
--- a/include/class_config.inc
+++ b/include/class_config.inc
"sieve_server" => $attrs['goImapSieveServer'][0],
"sieve_port" => $attrs['goImapSievePort'][0]);
}
- error_reporting(E_ALL);
+ error_reporting(E_ALL | E_STRICT);
/* Get kerberos server. FIXME: only one is supported currently */
$ldap->cd ($this->current['BASE']);
diff --git a/include/class_ldap.inc b/include/class_ldap.inc
index 6ae00e89623831ee284932bf2f6f8a8f13cb2410..dbc76f585ff3c245ec0fedaa80f01c740812376f 100644 (file)
--- a/include/class_ldap.inc
+++ b/include/class_ldap.inc
*/
function copy_FAI_resource_recursive($sourcedn,$destinationdn,$destinationName,$type="branch",$is_first = true,$depth=0)
{
- error_reporting(E_ALL);
+ error_reporting(E_ALL | E_STRICT);
if($is_first){
echo "<h2>".sprintf(_("Creating copy of %s"),"<i>".@LDAP::fix($sourcedn)."</i>")."</h2>";
index 8fecaa217ab5bf0400083b7dd5b0444bc23e9a79..3993f96a492f1cee3717af0a73b6f73aa7ebe2be 100644 (file)
return(array("quotaUsage"=>"","gosaMailQuota"=>""));
}
- error_reporting (E_ALL);
+ error_reporting (E_ALL | E_STRICT);
return ($result);
}
index 0991b8ef790ddffe4f3ce6923b573e65492c4320..36304f25a50051c7b679b46ae9089366e24eceb4 100644 (file)
return(false);
}
- error_reporting(E_ALL);
+ error_reporting(E_ALL | E_STRICT);
return ($result);
}
index e37b80ce37c3c357ea8e722608a1584d0cfcf484..d2eecd487f4db3b9fadbbfc520bc61db6c7dc209 100644 (file)
return(false);
}
- error_reporting(E_ALL);
+ error_reporting(E_ALL | E_STRICT);
return ($result);
}
index d3432226f7de549aaac8fbc52b6b2e9a70a6cbfb..3615bb4c69236d2340296cb29a1a10e11e1c135e 100644 (file)
function _connect()
{
- error_reporting(E_ALL);
+ error_reporting(E_ALL | E_STRICT);
if(is_callable("pg_connect")){
if(!empty($this->pwd)){
$this->handle = @pg_connect("dbname=".$this->db." host=".$this->server." user=".$this->user);
index 8bb0a2ce35e9e631fe63b40968e17e49f6408184..53c27b8ed7ef2aba9083f0cef816e4ee4955df63 100644 (file)
--- a/include/class_plugin.inc
+++ b/include/class_plugin.inc
break;
}
}
- error_reporting(E_ALL);
+ error_reporting(E_ALL | E_STRICT);
if ($found){
$this->is_account= TRUE;
@DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__,
}
/* close conncetion */
- error_reporting (E_ALL);
+ error_reporting (E_ALL | E_STRICT);
ldap_unbind($ds);
/* Adapt naming attribute */
index aad1af72bdba734392a8ffa8307023c3137c990a..ab9b3a1d7c8a87cfe72d586f8cb4854c269e88ac 100644 (file)
unset($_SESSION['parsed_search_keyword']);
$_SESSION['parsed_search_keyword']="";
- error_reporting(E_ALL);
+ error_reporting(E_ALL | E_STRICT);
/* prepare searchwords */
$word = trim($word);
diff --git a/include/php_setup.inc b/include/php_setup.inc
index 324a6b740d31587455e3d2d3f1acf663cb16a213..cf9c5cf6fde4e5f5be88f1c5244625a1f5ee9c53 100644 (file)
--- a/include/php_setup.inc
+++ b/include/php_setup.inc
/* Get base dir for reference */
$BASE_DIR= dirname(dirname(__FILE__));
$ROOT_DIR= $BASE_DIR."/html";
-error_reporting (E_ALL);
+error_reporting (E_ALL | E_STRICT);
/* Register error handler */
$error_collector= "";
diff --git a/plugins/addons/addressbook/class_addressbook.inc b/plugins/addons/addressbook/class_addressbook.inc
index 6ac0591e7b1d01a5c7c6eee834a8964b3aabaaad..730d6367c85b59958c7a36ec7d6e09be9ce7f80f 100644 (file)
$this->telephone_list[$attrs['sn'][0].$attrs['dn']].= "</td>";
}
}
- error_reporting(E_ALL);
+ error_reporting(E_ALL | E_STRICT);
}
/* Sort up list */
} else {
$smarty->assign("info_$name", preg_replace("/\n/", "<br>", $info["$name"][0]));
}
- error_reporting(E_ALL);
+ error_reporting(E_ALL | E_STRICT);
} elseif ($_SESSION['show_info'] == "ADD" && isset($this->$name)) {
$smarty->assign("info_$name", $this->$name);
} else {
index a7225c4dbdee4c4884dc9a2362021c477f104cdf..dc99297ce48e93e2705dc34852e5ef21e1eca988 100644 (file)
$mailusers[$attrs['mail'][0]]= $name."<".
$attrs['mail'][0].">";
}
- error_reporting (E_ALL);
+ error_reporting (E_ALL | E_STRICT);
natcasesort ($mailusers);
reset ($mailusers);
index 5e3e121d32383a177ab79866d74e882034835434..f5eab49103165efc80138d9a997d702b629d12be 100644 (file)
} else {
$smarty->assign("combinedObjects", "$p1");
}
- error_reporting(E_ALL);
+ error_reporting(E_ALL | E_STRICT);
}
/* Assign variables */
diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc
index ef48fdd074d6f78243e7e9b107452483fb1e3737..381351314aae8625d6287ba43ad81402c25ed85c 100644 (file)
$mailusers[$attrs['mail'][0]]= $name."<".
$attrs['mail'][0].">";
}
- error_reporting (E_ALL);
+ error_reporting (E_ALL | E_STRICT);
natcasesort ($mailusers);
reset ($mailusers);
diff --git a/plugins/personal/posix/class_posixAccount.inc b/plugins/personal/posix/class_posixAccount.inc
index 94b8a1b5880ca560f82ddde731c9f5201b7a403c..e2bddd34d39bb18e70c92b9fdd4cdeb4838fada6 100644 (file)
$dsc= preg_replace ('/^Group of user/', _("Group of user"), $attrs["description"][0]);
$entry= $attrs["cn"][0]." [$dsc]";
}
- error_reporting (E_ALL);
+ error_reporting (E_ALL | E_STRICT);
if(obj_is_writable($attrs['dn'],"groups/group","memberUid")){
$this->groupMembership[$attrs['dn']]= $entry;