SproutCMS

This is the code documentation for the SproutCMS project

source of /modules/Welcome/config/routes.php

  1. <?php
  2. /*
  3.  * kate: tab-width 4; indent-width 4; space-indent on; word-wrap off; word-wrap-column 120;
  4.  * :tabSize=4:indentSize=4:noTabs=true:wrap=false:maxLineLen=120:mode=php:
  5.  *
  6.  * Copyright (C) 2016 Karmabunny Pty Ltd.
  7.  *
  8.  * This file is a part of SproutCMS.
  9.  *
  10.  * SproutCMS is free software: you can redistribute it and/or modify it under the terms
  11.  * of the GNU General Public License as published by the Free Software Foundation, either
  12.  * version 2 of the License, or (at your option) any later version.
  13.  *
  14.  * For more information, visit <http://getsproutcms.com>.
  15.  */
  16.  
  17. $ns = 'SproutModules\\Karmabunny\\Welcome\\Controllers\\';
  18.  
  19. // Redirect traffic to the home page into the welcome system
  20. $config[''] = $ns . 'WelcomeController/redirect';
  21.  
  22. // Useful tools
  23. $config['welcome/info'] = $ns . 'WelcomeController/phpInfo';
  24.  
  25. // The welcome system UI
  26. $config['welcome/checklist'] = $ns . 'WelcomeController/checklist';
  27. $config['welcome/run_test/([_a-z]+)'] = $ns . 'WelcomeController/runTest/$1';
  28. $config['welcome/db_conf_form'] = $ns . 'WelcomeController/dbConfForm';
  29. $config['welcome/db_conf_test'] = $ns . 'WelcomeController/dbConfTest';
  30. $config['welcome/db_conf_result'] = $ns . 'WelcomeController/dbConfResult';
  31. $config['welcome/db_conf_database'] = $ns . 'WelcomeController/dbConfDatabase';
  32. $config['welcome/db_conf_hosts'] = $ns . 'WelcomeController/dbConfHosts';
  33. $config['welcome/db_conf_password'] = $ns . 'WelcomeController/dbConfPassword';
  34. $config['welcome/sync'] = $ns . 'WelcomeController/sync';
  35. $config['welcome/super_op_form'] = $ns . 'WelcomeController/superOperatorForm';
  36. $config['welcome/super_op_action'] = $ns . 'WelcomeController/superOperatorAction';
  37. $config['welcome/super_op_result'] = $ns . 'WelcomeController/superOperatorResult';
  38. $config['welcome/super_op_conf'] = $ns . 'WelcomeController/superOperatorConf';
  39. $config['welcome/add_sample_action'] = $ns . 'WelcomeController/addSampleAction';
  40.