Commit 0345fcb4 authored by Imran Hussain's avatar Imran Hussain
Browse files

Auto add users to printer when they sign up because I hate doign it manualy...

Auto add users to printer when they sign up because I hate doign it manualy and it takes a long time to do it manualy and I make mistakes and peopel complain and stuff.
parent d13114c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -338,7 +338,7 @@ if(isset($_REQUEST['signupid'])&&isset($_REQUEST['signuppw'])){
                                );
                                $failed=true;
                            }

			exec($script_path.'printeradd.apache '.escapeshellarg($fields['username']);
		    }
		    $smarty->assign("failed",$failed);
		    if($failed){