Slim-php框架的SVN更新


SVN update of Slim php framework

我试图将Slim PHP框架添加到存储库中,但它在所有.PHP文件中都给了我错误:

例如,对于index.php:

Commit
......'trunk'web'Slim'index.php
......'trunk'web'Slim'index.php
Commit failed (details follow):
Commit blocked by pre-commit hook (exit code 1) with output:
***********************************
PHP error in: trunk/web/Slim/index.php:
Warning: Unexpected character in input: ''' (ASCII=92) state=1 in
 trunk/web/Slim/index.php on line 12 Warning: Unexpected character in input:
 ''' (ASCII=92) state=1 in trunk/web/Slim/index.php on line 12 Parse error:
 syntax error, unexpected T_STRING in trunk/web/Slim/index.php on line 12
 Errors parsing trunk/web/Slim/index.php
***********************************
This error was generated by a custom hook script on the Subversion server.
Please contact your server administrator for help with resolving this issue.
  • 存储库的服务器使用PHP 5.3.3
  • 我正在使用TortoiseSVN
  • index.php第12行:'Slim'Slim::registerAutoloader();

我联系了服务器管理员,他禁用了服务器上的一些钩子脚本,现在一切都很好!