[SUCS Devel] [Git][sucssite/sucs-site][sucs-site] 3 commits: Auto add users to printer when they sign up because I hate doign it manualy and …

Imran Hussain imranh at sucs.org
Tue Sep 29 20:14:16 BST 2015


Imran Hussain pushed to branch sucs-site at sucssite / sucs-site


Commits:
0345fcb4 by Imran Hussain at 2015-09-29T19:54:57Z
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.

- - - - -
2d78cf85 by Imran Hussain at 2015-09-29T20:02:58Z
Merge branch 'master' into 'beta'

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.

See merge request !21

- - - - -
60c314fa by Imran Hussain at 2015-09-29T20:14:11Z
Merge branch 'beta' into 'sucs-site'

Push changes from beta to live

See merge request !22

- - - - -


1 changed file:

- components/signup.php


Changes:

=====================================
components/signup.php
=====================================
--- a/components/signup.php
+++ b/components/signup.php
@@ -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){



View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/compare/ba941824164e8fe28b836b7556f5d270928e6d18...60c314fa1b041759a2b80b59d4909619d3544157
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20150929/7e1f7448/attachment.html>


More information about the Devel mailing list