sitescreation.php

来自「groupoffice」· PHP 代码 · 共 31 行

PHP
31
字号
#!/usr/bin/php<?php/*   Copyright Intermesh 2003   Author: Michael Borko <michael.borko@tgm.ac.at>   Version: 1.0 Release date: 28 April 2004   This program is free software; you can redistribute it and/or modify it   under the terms of the GNU General Public License as published by the   Free Software Foundation; either version 2 of the License, or (at your   option) any later version. *///Apache-Log-Input recognition from STDINPUT$filename = $argv[1];//Init of all necessary globalsrequire_once("/var/www/groupoffice/Group-Office.php");global $GO_DAV, $GO_CONFIG;$db = new db();$namelist = $GO_DAV->file_get_contents($filename);$namelist = explode( "\n", $namelist);array_pop($namelist);$namelist = array_unique($namelist);foreach( $namelist as $user )  $GO_DAV->check_login($user);?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?