首页 > 代码库 > GWP PHP auth page works

GWP PHP auth page works

经过修改,看起来GWP能工作了。不过还是需要深入了解ca的page flow,PHP and Perl大不同

 

 

 1015  ls /var/www/html/gwp/lib/database.php
 1016  cp /var/www/html/cacti/lib/functions.php /var/www/html/gwp/lib/
 1017  cp /var/www/html/cacti/include/global_constants.php /var/www/html/gwp/include/
 1018  cp /var/www/html/cacti/include/plugins.php /var/www/html/gwp/include/
 1019  cp /var/www/html/cacti/include/global_arrays.php /var/www/html/gwp/include/
 1020  cp /var/www/html/cacti/include/config.php /var/www/html/gwp/include/config.php
 1021  cp /var/www/html/cacti/include/global_settings.php /var/www/html/gwp/include/
 1022  cp /var/www/html/cacti/include/global_form.php /var/www/html/gwp/include/
 1023  cp /var/www/html/cacti/lib/html.php /var/www/html/gwp/lib/
 1024  cp /var/www/html/cacti/lib/html_form.php /var/www/html/gwp/lib/
 1025  cp /var/www/html/cacti/lib/html_utility.php /var/www/html/gwp/lib/
 1026  cp /var/www/html/cacti/lib/html_validate.php /var/www/html/gwp/lib/
 1027  cp /var/www/html/cacti/lib/variables.php /var/www/html/gwp/lib/
 1028  cp /var/www/html/cacti/lib/auth.php /var/www/html/gwp/lib/
 1029  cd /var/www/html/cacti/
 1030  find . -name "auth_login.php"
 1031  cp auth_login.php /var/www/html/gwp/

[root@linux gwp]# find .
.
./lib
./lib/plugins.php
./lib/database.php
./lib/adodb
./lib/adodb/adodb-errorpear.inc.php
./lib/adodb/adodb-exceptions.inc.php
./lib/adodb/adodb-perf.inc.php
./lib/adodb/drivers
./lib/adodb/drivers/adodb-mssqlpo.inc.php
./lib/adodb/drivers/adodb-mssql.inc.php
./lib/adodb/drivers/adodb-oracle.inc.php
./lib/adodb/drivers/adodb-postgres.inc.php
./lib/adodb/drivers/adodb-odbc_mssql.inc.php
./lib/adodb/drivers/adodb-oci8po.inc.php
./lib/adodb/drivers/adodb-mysqlt.inc.php
./lib/adodb/drivers/adodb-sqlitepo.inc.php
./lib/adodb/drivers/adodb-odbtp_unicode.inc.php
./lib/adodb/drivers/adodb-vfp.inc.php
./lib/adodb/drivers/adodb-fbsql.inc.php
./lib/adodb/drivers/adodb-mysql.inc.php
./lib/adodb/drivers/adodb-ado_mssql.inc.php
./lib/adodb/drivers/adodb-netezza.inc.php
./lib/adodb/drivers/adodb-informix72.inc.php
./lib/adodb/drivers/adodb-sqlite.inc.php
./lib/adodb/drivers/adodb-db2.inc.php
./lib/adodb/drivers/adodb-odbtp.inc.php
./lib/adodb/drivers/adodb-ldap.inc.php
./lib/adodb/drivers/adodb-ado_access.inc.php
./lib/adodb/drivers/adodb-odbc.inc.php
./lib/adodb/drivers/adodb-postgres64.inc.php
./lib/adodb/drivers/adodb-oci805.inc.php
./lib/adodb/drivers/adodb-ado5.inc.php
./lib/adodb/drivers/adodb-proxy.inc.php
./lib/adodb/drivers/adodb-sqlanywhere.inc.php
./lib/adodb/drivers/adodb-mysqli.inc.php
./lib/adodb/drivers/adodb-informix.inc.php
./lib/adodb/drivers/adodb-firebird.inc.php
./lib/adodb/drivers/adodb-ado.inc.php
./lib/adodb/drivers/adodb-sybase.inc.php
./lib/adodb/drivers/adodb-ibase.inc.php
./lib/adodb/drivers/adodb-pdo.inc.php
./lib/adodb/drivers/adodb-csv.inc.php
./lib/adodb/drivers/adodb-oci8.inc.php
./lib/adodb/drivers/adodb-access.inc.php
./lib/adodb/drivers/adodb-postgres7.inc.php
./lib/adodb/drivers/adodb-sapdb.inc.php
./lib/adodb/drivers/adodb-borland_ibase.inc.php
./lib/adodb/drivers/adodb-odbc_oracle.inc.php
./lib/adodb/tohtml.inc.php
./lib/adodb/adodb-datadict.inc.php
./lib/adodb/adodb-iterator.inc.php
./lib/adodb/toexport.inc.php
./lib/adodb/adodb-error.inc.php
./lib/adodb/adodb.inc.php
./lib/adodb/adodb-php4.inc.php
./lib/adodb/adodb-csvlib.inc.php
./lib/adodb/datadict
./lib/adodb/datadict/datadict-access.inc.php
./lib/adodb/datadict/datadict-generic.inc.php
./lib/adodb/datadict/datadict-informix.inc.php
./lib/adodb/datadict/datadict-ibase.inc.php
./lib/adodb/datadict/datadict-db2.inc.php
./lib/adodb/datadict/datadict-sybase.inc.php
./lib/adodb/datadict/datadict-mysql.inc.php
./lib/adodb/datadict/datadict-mssql.inc.php
./lib/adodb/datadict/datadict-sapdb.inc.php
./lib/adodb/datadict/datadict-firebird.inc.php
./lib/adodb/datadict/datadict-oci8.inc.php
./lib/adodb/datadict/datadict-postgres.inc.php
./lib/adodb/adodb-errorhandler.inc.php
./lib/adodb/adodb-time.inc.php
./lib/adodb/adodb-pear.inc.php
./lib/adodb/lang
./lib/adodb/lang/adodb-es.inc.php
./lib/adodb/lang/adodb-ar.inc.php
./lib/adodb/lang/adodb-nl.inc.php
./lib/adodb/lang/adodb-pl.inc.php
./lib/adodb/lang/adodb-ro.inc.php
./lib/adodb/lang/adodb-ru1251.inc.php
./lib/adodb/lang/adodb-cz.inc.php
./lib/adodb/lang/adodb-ca.inc.php
./lib/adodb/lang/adodb-sv.inc.php
./lib/adodb/lang/adodb-en.inc.php
./lib/adodb/lang/adodb-it.inc.php
./lib/adodb/lang/adodb-pt-br.inc.php
./lib/adodb/lang/adodb-de.inc.php
./lib/adodb/lang/adodb-cn.inc.php
./lib/adodb/lang/adodb-bg.inc.php
./lib/adodb/lang/adodb-bgutf8.inc.php
./lib/adodb/lang/adodb-fr.inc.php
./lib/adodb/lang/adodb-hu.inc.php
./lib/adodb/license.txt
./lib/adodb/adodb-lib.inc.php
./lib/adodb/adodb-xmlschema.inc.php
./lib/variables.php
./lib/html_form.php
./lib/html_validate.php
./lib/auth.php
./lib/html.php
./lib/functions.php
./lib/html_utility.php
./auth_login.php
./index.php
./images
./images/button_export.gif
./images/tab_cacti.gif
./images/graph_properties.gif
./images/button_purge.gif
./images/graph_zoom.gif
./images/tab_mode_preview.gif
./images/shadow.gif
./images/move_left.gif
./images/tab_mode_tree_down.gif
./images/button_go.gif
./images/menuarrow.gif
./images/button_add.gif
./images/button_cancel.gif
./images/enable_icon_disabled.png
./images/graph_page_top.gif
./images/enable_icon.png
./images/button_view.gif
./images/tab_graphs.gif
./images/move_down.gif
./images/auth_deny.gif
./images/graph_query.png
./images/uninstall_icon.gif
./images/cacti_backdrop2.gif
./images/button_save.gif
./images/tab_mode_list.gif
./images/button_cancel2.gif
./images/button_expand_all.gif
./images/tab_mode_preview_down.gif
./images/left_border.gif
./images/tab_mode_list_down.gif
./images/shadow_gray.gif
./images/delete_icon_large.gif
./images/delete_icon.gif
./images/auth_login.gif
./images/install_icon_disabled.png
./images/reload_icon_small.gif
./images/move_right.gif
./images/button_clear.gif
./images/cacti_logo.gif
./images/show.gif
./images/tab_settings_down.gif
./images/button_import.gif
./images/button_help.gif
./images/button_refresh.gif
./images/button_no.gif
./images/button_default.gif
./images/calendar.gif
./images/cacti_backdrop.gif
./images/hide.gif
./images/arrow.gif
./images/disable_icon.png
./images/tab_console.gif
./images/transparent_line.gif
./images/button_yes.gif
./images/button_create.gif
./images/tab_console_down.gif
./images/auth_logout.gif
./images/install_icon.png
./images/cacti_about_logo.gif
./images/favicon.ico
./images/button_colapse_all.gif
./images/menu_line.gif
./images/tab_settings.gif
./images/tab_mode_tree.gif
./images/tab_graphs_down.gif
./images/button_delete.gif
./images/view_none.gif
./images/move_up.gif
./project_new.php
./about.php
./include
./include/plugins.php
./include/main.css
./include/global_settings.php
./include/top_header.php
./include/bottom_footer.php
./include/config.php
./include/auth.php
./include/global_constants.php
./include/global.php
./include/global_form.php
./include/global_arrays.php