mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 05:20:30 +03:00
require -> require_once for libs
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@94 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
6ceb322166
commit
94fa454f92
@ -12,8 +12,8 @@
|
||||
* Evgeny Gryaznov - initial API and implementation
|
||||
*/
|
||||
|
||||
require('libs/common.php');
|
||||
require('libs/operator.php');
|
||||
require_once('libs/common.php');
|
||||
require_once('libs/operator.php');
|
||||
|
||||
$image = verifyparam("image","/^\w+$/", "webim");
|
||||
$lang = verifyparam("lang", "/^[\w-]{2,5}$/", "");
|
||||
|
@ -12,9 +12,9 @@
|
||||
* Evgeny Gryaznov - initial API and implementation
|
||||
*/
|
||||
|
||||
require('libs/common.php');
|
||||
require('libs/chat.php');
|
||||
require('libs/operator.php');
|
||||
require_once('libs/common.php');
|
||||
require_once('libs/chat.php');
|
||||
require_once('libs/operator.php');
|
||||
|
||||
if( !isset($_GET['token']) || !isset($_GET['thread']) ) {
|
||||
|
||||
|
@ -12,9 +12,9 @@
|
||||
* Evgeny Gryaznov - initial API and implementation
|
||||
*/
|
||||
|
||||
require('../libs/common.php');
|
||||
require('../libs/operator.php');
|
||||
require('dbinfo.php');
|
||||
require_once('../libs/common.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('dbinfo.php');
|
||||
|
||||
function runsql($query,$link) {
|
||||
mysql_query($query,$link)
|
||||
|
@ -12,8 +12,8 @@
|
||||
* Evgeny Gryaznov - initial API and implementation
|
||||
*/
|
||||
|
||||
require('../libs/common.php');
|
||||
require('dbinfo.php');
|
||||
require_once('../libs/common.php');
|
||||
require_once('dbinfo.php');
|
||||
|
||||
$page = array(
|
||||
'version' => $version,
|
||||
|
@ -12,8 +12,8 @@
|
||||
* Evgeny Gryaznov - initial API and implementation
|
||||
*/
|
||||
|
||||
require('libs/common.php');
|
||||
require('libs/chat.php');
|
||||
require_once('libs/common.php');
|
||||
require_once('libs/chat.php');
|
||||
|
||||
$errors = array();
|
||||
$page = array();
|
||||
|
@ -14,8 +14,8 @@
|
||||
|
||||
session_start();
|
||||
|
||||
require(dirname(__FILE__).'/converter.php');
|
||||
require(dirname(__FILE__).'/config.php');
|
||||
require_once(dirname(__FILE__).'/converter.php');
|
||||
require_once(dirname(__FILE__).'/config.php');
|
||||
|
||||
$version = 'v1.0.9';
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
* Evgeny Gryaznov - initial API and implementation
|
||||
*/
|
||||
|
||||
require('libs/common.php');
|
||||
require('libs/chat.php');
|
||||
require_once('libs/common.php');
|
||||
require_once('libs/chat.php');
|
||||
|
||||
$errors = array();
|
||||
$page = array();
|
||||
|
@ -12,9 +12,9 @@
|
||||
* Evgeny Gryaznov - initial API and implementation
|
||||
*/
|
||||
|
||||
require('../libs/common.php');
|
||||
require('../libs/chat.php');
|
||||
require('../libs/operator.php');
|
||||
require_once('../libs/common.php');
|
||||
require_once('../libs/chat.php');
|
||||
require_once('../libs/operator.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
* Evgeny Gryaznov - initial API and implementation
|
||||
*/
|
||||
|
||||
require('../libs/common.php');
|
||||
require('../libs/operator.php');
|
||||
require_once('../libs/common.php');
|
||||
require_once('../libs/operator.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
|
@ -12,10 +12,10 @@
|
||||
* Pavel Petroshenko - initial API and implementation
|
||||
*/
|
||||
|
||||
require('../libs/common.php');
|
||||
require('../libs/operator.php');
|
||||
require('../libs/chat.php');
|
||||
require('../libs/pagination.php');
|
||||
require_once('../libs/common.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/chat.php');
|
||||
require_once('../libs/pagination.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
* Evgeny Gryaznov - initial API and implementation
|
||||
*/
|
||||
|
||||
require('../libs/common.php');
|
||||
require('../libs/operator.php');
|
||||
require_once('../libs/common.php');
|
||||
require_once('../libs/operator.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
* Evgeny Gryaznov - initial API and implementation
|
||||
*/
|
||||
|
||||
require('../libs/common.php');
|
||||
require('../libs/operator.php');
|
||||
require_once('../libs/common.php');
|
||||
require_once('../libs/operator.php');
|
||||
|
||||
$errors = array();
|
||||
if( isset($_POST['login']) && isset($_POST['password']) ) {
|
||||
|
@ -12,8 +12,8 @@
|
||||
* Evgeny Gryaznov - initial API and implementation
|
||||
*/
|
||||
|
||||
require('../libs/common.php');
|
||||
require('../libs/operator.php');
|
||||
require_once('../libs/common.php');
|
||||
require_once('../libs/operator.php');
|
||||
|
||||
logout_operator();
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
* Evgeny Gryaznov - initial API and implementation
|
||||
*/
|
||||
|
||||
require('../libs/common.php');
|
||||
require('../libs/operator.php');
|
||||
require_once('../libs/common.php');
|
||||
require_once('../libs/operator.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
* Evgeny Gryaznov - initial API and implementation
|
||||
*/
|
||||
|
||||
require('../libs/common.php');
|
||||
require('../libs/operator.php');
|
||||
require_once('../libs/common.php');
|
||||
require_once('../libs/operator.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
|
@ -12,9 +12,9 @@
|
||||
* Evgeny Gryaznov - initial API and implementation
|
||||
*/
|
||||
|
||||
require('../libs/common.php');
|
||||
require('../libs/operator.php');
|
||||
require('../libs/chat.php');
|
||||
require_once('../libs/common.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/chat.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
|
@ -12,9 +12,9 @@
|
||||
* Evgeny Gryaznov - initial API and implementation
|
||||
*/
|
||||
|
||||
require('../libs/common.php');
|
||||
require('../libs/chat.php');
|
||||
require('../libs/operator.php');
|
||||
require_once('../libs/common.php');
|
||||
require_once('../libs/chat.php');
|
||||
require_once('../libs/operator.php');
|
||||
|
||||
$operator = get_logged_in();
|
||||
if( !$operator ) {
|
||||
|
@ -12,8 +12,8 @@
|
||||
* Evgeny Gryaznov - initial API and implementation
|
||||
*/
|
||||
|
||||
require('../libs/common.php');
|
||||
require('../libs/operator.php');
|
||||
require_once('../libs/common.php');
|
||||
require_once('../libs/operator.php');
|
||||
|
||||
|
||||
$operator = check_login();
|
||||
|
@ -12,9 +12,9 @@
|
||||
* Evgeny Gryaznov - initial API and implementation
|
||||
*/
|
||||
|
||||
require('libs/common.php');
|
||||
require('libs/chat.php');
|
||||
require('libs/operator.php');
|
||||
require_once('libs/common.php');
|
||||
require_once('libs/chat.php');
|
||||
require_once('libs/operator.php');
|
||||
|
||||
$act = verifyparam( "act", "/^(refresh|post|rename|close|ping".")$/");
|
||||
$token = verifyparam( "token", "/^\d{1,9}$/");
|
||||
|
Loading…
Reference in New Issue
Block a user