Fixed a typo in which()
authorDan Fuhry <dan@enanocms.org>
Thu, 31 Mar 2011 13:09:56 -0400
changeset 1341 90e2064c8ea2
parent 1340 d1d64b373878
child 1342 2164d18cb10c
Fixed a typo in which()
includes/functions.php
--- a/includes/functions.php	Thu Feb 10 21:52:54 2011 -0500
+++ b/includes/functions.php	Thu Mar 31 13:09:56 2011 -0400
@@ -5321,7 +5321,7 @@
 function which($executable)
 {
 	$path = get_system_path();
-	if ( empty($paths) )
+	if ( empty($path) )
 		return false;
 	
 	$win32 = ( PHP_OS == 'WINNT' || PHP_OS == 'WIN32' );