summaryrefslogtreecommitdiffstats
path: root/pts-core/functions
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-12-13 11:10:26 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-12-13 11:10:26 -0500
commit83c97949686445f0e90aea6e9088e4dbfa54e541 (patch)
treea730be72a0f5caecaac063796d3578475c5a72a3 /pts-core/functions
parente3987a410b7cf4e9670aabe0dc6bae562d885d9e (diff)
downloadphoronix-test-suite-upstream-83c97949686445f0e90aea6e9088e4dbfa54e541.tar.gz
phoronix-test-suite-upstream-83c97949686445f0e90aea6e9088e4dbfa54e541.tar.xz
phoronix-test-suite-upstream-83c97949686445f0e90aea6e9088e4dbfa54e541.zip
pts-core: Ensure no spaces in pts_vendor_identifier()
Diffstat (limited to 'pts-core/functions')
-rw-r--r--pts-core/functions/pts-functions_system_software.php2
-rw-r--r--pts-core/functions/pts-init.php2
-rw-r--r--pts-core/functions/pts.php2
3 files changed, 2 insertions, 4 deletions
diff --git a/pts-core/functions/pts-functions_system_software.php b/pts-core/functions/pts-functions_system_software.php
index f7d57a8..757ea63 100644
--- a/pts-core/functions/pts-functions_system_software.php
+++ b/pts-core/functions/pts-functions_system_software.php
@@ -24,7 +24,7 @@
function pts_vendor_identifier()
{
// Returns the vendor identifier used with the External Dependencies and other distro-specific features
- $vendor = sw_os_vendor();
+ $vendor = str_replace(" ", "", sw_os_vendor());
if($vendor == "Unknown")
{
diff --git a/pts-core/functions/pts-init.php b/pts-core/functions/pts-init.php
index 27a8586..0efb39d 100644
--- a/pts-core/functions/pts-init.php
+++ b/pts-core/functions/pts-init.php
@@ -111,7 +111,7 @@ function pts_basic_init()
define("PTS_DEBUG_FILE", $debug_file);
}
- error_reporting(E_ALL | E_STRICT); // Set error reporting to all and strict
+ error_reporting(E_ALL | E_NOTICE); // Set error reporting to all and strict
}
else
{
diff --git a/pts-core/functions/pts.php b/pts-core/functions/pts.php
index 68a5296..57a0660 100644
--- a/pts-core/functions/pts.php
+++ b/pts-core/functions/pts.php
@@ -21,8 +21,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-//error_reporting(E_ALL | E_NOTICE);
-
define("PTS_VERSION", "1.6.0a3");
define("PTS_CODENAME", "TYDAL");
define("PTS_TYPE", "DESKTOP");